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
@@ -19,8 +19,6 @@ describe('PhilipsHue', () => {
|
||||
const tests = workflowToTests(workflows);
|
||||
|
||||
beforeAll(() => {
|
||||
nock.disableNetConnect();
|
||||
|
||||
const mock = nock('https://api.meethue.com/route');
|
||||
mock.persist().get('/api/0/config').reply(200, getConfigResponse);
|
||||
mock.get('/api/pAtwdCV8NZId25Gk/lights').reply(200, getLightsResponse);
|
||||
@@ -28,10 +26,6 @@ describe('PhilipsHue', () => {
|
||||
mock.delete('/api/pAtwdCV8NZId25Gk/lights/1').reply(200, deleteLightResponse);
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
nock.restore();
|
||||
});
|
||||
|
||||
const nodeTypes = setup(tests);
|
||||
|
||||
for (const testData of tests) {
|
||||
|
||||
Reference in New Issue
Block a user