refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-04-24 17:37:26 +02:00
committed by GitHub
parent 897338bd24
commit 91069f057e
119 changed files with 556 additions and 1002 deletions

View File

@@ -1,6 +1,8 @@
import nock from 'nock';
import { getWorkflowFilenames, initBinaryDataService, testWorkflows } from '@test/nodes/Helpers';
import { getWorkflowFilenames, testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../__tests__/credentials';
const workflows = getWorkflowFilenames(__dirname);
@@ -12,8 +14,6 @@ describe('Test S3 V1 Node', () => {
beforeAll(async () => {
jest.useFakeTimers({ doNotFake: ['nextTick'], now });
await initBinaryDataService();
mock = nock('https://bucket.s3.eu-central-1.amazonaws.com');
});
@@ -39,6 +39,6 @@ describe('Test S3 V1 Node', () => {
.reply(200, { success: true });
});
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});
});