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

@@ -112,11 +112,9 @@ describe('Hubspot Node', () => {
.reply(200, companies.companies[0]);
});
testWorkflows(['nodes/Hubspot/__test__/companies.workflow.json']);
afterAll(() => hubspotNock.done());
it('should make the correct network calls', () => {
hubspotNock.done();
});
testWorkflows(['nodes/Hubspot/__test__/companies.workflow.json']);
});
describe('contacts', () => {
@@ -210,11 +208,9 @@ describe('Hubspot Node', () => {
.reply(200, contacts.contacts[0]);
});
testWorkflows(['nodes/Hubspot/__test__/contacts.workflow.json']);
afterAll(() => hubspotNock.done());
it('should make the correct network calls', () => {
hubspotNock.done();
});
testWorkflows(['nodes/Hubspot/__test__/contacts.workflow.json']);
});
describe('deals', () => {
@@ -257,10 +253,8 @@ describe('Hubspot Node', () => {
.reply(200, dealsSearchResult);
});
testWorkflows(['nodes/Hubspot/__test__/deals.workflow.json']);
afterAll(() => hubspotNock.done());
it('should make the correct network calls', () => {
hubspotNock.done();
});
testWorkflows(['nodes/Hubspot/__test__/deals.workflow.json']);
});
});