mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
refactor: Overhaul nodes-testing setup - Part 3 (no-changelog) (#14967)
This commit is contained in:
committed by
GitHub
parent
3e43f9f8bc
commit
979f9e6327
@@ -1,3 +1,4 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IHookFunctions,
|
||||
@@ -7,8 +8,6 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import nock from 'nock';
|
||||
|
||||
import { getWorkflowFilenames, testWorkflows } from '@test/nodes/Helpers';
|
||||
|
||||
import { profileResponse } from './apiResponses';
|
||||
import { ouraApiRequest } from '../GenericFunctions';
|
||||
|
||||
@@ -51,6 +50,7 @@ describe('Oura', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('Run Oura workflow', () => {
|
||||
beforeAll(() => {
|
||||
nock('https://api.ouraring.com/v2')
|
||||
@@ -58,7 +58,6 @@ describe('Oura', () => {
|
||||
.reply(200, profileResponse);
|
||||
});
|
||||
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
testWorkflows(workflows);
|
||||
new NodeTestHarness().setupTests();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user