mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
chore: Upgrade nock and delete nock related boilerplate code (no-changelog) (#12869)
This commit is contained in:
committed by
GitHub
parent
0bb65f27ab
commit
f64c6bf9ac
@@ -5,8 +5,6 @@ import { testWorkflows, getWorkflowFilenames } from '@test/nodes/Helpers';
|
||||
|
||||
describe('Test npm Node', () => {
|
||||
beforeAll(() => {
|
||||
nock.disableNetConnect();
|
||||
|
||||
const { registryUrl } = FAKE_CREDENTIALS_DATA.npmApi;
|
||||
const mock = nock(registryUrl); //.matchHeader('Authorization', `Bearer ${accessToken}`);
|
||||
|
||||
@@ -30,10 +28,6 @@ describe('Test npm Node', () => {
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
nock.restore();
|
||||
});
|
||||
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
testWorkflows(workflows);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user