mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873)
This commit is contained in:
committed by
GitHub
parent
897338bd24
commit
91069f057e
@@ -72,6 +72,15 @@ const meResult = {
|
||||
};
|
||||
|
||||
describe('Test Twitter Request Node', () => {
|
||||
const credentials = {
|
||||
twitterOAuth2Api: {
|
||||
scope: '',
|
||||
oauthTokenData: {
|
||||
access_token: 'ACCESSTOKEN',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
beforeAll(() => {
|
||||
const baseUrl = 'https://api.twitter.com/2';
|
||||
//GET
|
||||
@@ -83,7 +92,7 @@ describe('Test Twitter Request Node', () => {
|
||||
});
|
||||
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
testWorkflows(workflows);
|
||||
testWorkflows(workflows, credentials);
|
||||
});
|
||||
|
||||
describe('X / Twitter Node unit tests', () => {
|
||||
|
||||
Reference in New Issue
Block a user