refactor: Remove test run methods from triggers

This commit is contained in:
Faruk AYDIN
2022-10-14 23:41:00 +02:00
committed by Ali BARIN
parent c422ca530d
commit cad42eed54
5 changed files with 1 additions and 23 deletions

View File

@@ -23,8 +23,4 @@ export default {
lastInternalId: $.flow.lastInternalId,
});
},
async testRun($: IGlobalVariable) {
return await getUserTweets($, { currentUser: true });
},
};

View File

@@ -20,8 +20,4 @@ export default {
async run($: IGlobalVariable) {
return await myFollowers($, $.flow.lastInternalId);
},
async testRun($: IGlobalVariable) {
return await myFollowers($);
},
};

View File

@@ -35,10 +35,4 @@ export default {
searchTerm: $.step.parameters.searchTerm as string,
});
},
async testRun($: IGlobalVariable) {
return await searchTweets($, {
searchTerm: $.step.parameters.searchTerm as string,
});
},
};

View File

@@ -36,11 +36,4 @@ export default {
lastInternalId: $.flow.lastInternalId,
});
},
async testRun($: IGlobalVariable) {
return await getUserTweets($, {
currentUser: false,
userId: $.step.parameters.username as string,
});
},
};