chore: Upgrade nock and delete nock related boilerplate code (no-changelog) (#12869)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-01-27 18:17:51 +01:00
committed by GitHub
parent 0bb65f27ab
commit f64c6bf9ac
154 changed files with 75 additions and 1483 deletions

View File

@@ -17,7 +17,6 @@ describe('Test HTTP Request Node', () => {
beforeAll(async () => {
await initBinaryDataService();
nock.disableNetConnect();
function getPaginationReturnData(this: nock.ReplyFnContext, limit = 10, skip = 0) {
const nextUrl = `${baseUrl}/users?skip=${skip + limit}&limit=${limit}`;
@@ -192,11 +191,6 @@ describe('Test HTTP Request Node', () => {
return getPaginationReturnData.call(this, limit, skip);
});
});
afterAll(() => {
nock.restore();
});
const nodeTypes = setup(tests);
for (const testData of tests) {