mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
chore: Fix failing unit tests (no-changelog) (#15073)
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import nock from 'nock';
|
||||
|
||||
import { initBinaryDataService, testWorkflows, getWorkflowFilenames } from '@test/nodes/Helpers';
|
||||
|
||||
describe('Google GSuiteAdmin Node - Delete Group', () => {
|
||||
const workflows = getWorkflowFilenames(__dirname).filter((filename) =>
|
||||
filename.includes('delete.workflow.json'),
|
||||
);
|
||||
|
||||
beforeAll(async () => {
|
||||
await initBinaryDataService();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
nock.disableNetConnect();
|
||||
nock('https://www.googleapis.com/admin')
|
||||
@@ -18,5 +9,7 @@ describe('Google GSuiteAdmin Node - Delete Group', () => {
|
||||
.reply(204, '');
|
||||
});
|
||||
|
||||
testWorkflows(workflows);
|
||||
new NodeTestHarness().setupTests({
|
||||
workflowFiles: ['delete.workflow.json'],
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user