refactor: Remove test run methods from triggers
This commit is contained in:
@@ -23,8 +23,4 @@ export default {
|
||||
lastInternalId: $.flow.lastInternalId,
|
||||
});
|
||||
},
|
||||
|
||||
async testRun($: IGlobalVariable) {
|
||||
return await getUserTweets($, { currentUser: true });
|
||||
},
|
||||
};
|
||||
|
@@ -20,8 +20,4 @@ export default {
|
||||
async run($: IGlobalVariable) {
|
||||
return await myFollowers($, $.flow.lastInternalId);
|
||||
},
|
||||
|
||||
async testRun($: IGlobalVariable) {
|
||||
return await myFollowers($);
|
||||
},
|
||||
};
|
||||
|
@@ -35,10 +35,4 @@ export default {
|
||||
searchTerm: $.step.parameters.searchTerm as string,
|
||||
});
|
||||
},
|
||||
|
||||
async testRun($: IGlobalVariable) {
|
||||
return await searchTweets($, {
|
||||
searchTerm: $.step.parameters.searchTerm as string,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
@@ -36,11 +36,4 @@ export default {
|
||||
lastInternalId: $.flow.lastInternalId,
|
||||
});
|
||||
},
|
||||
|
||||
async testRun($: IGlobalVariable) {
|
||||
return await getUserTweets($, {
|
||||
currentUser: false,
|
||||
userId: $.step.parameters.username as string,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user