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

@@ -1,14 +1,12 @@
import nock from 'nock';
import { parse as parseUrl } from 'url';
import { initBinaryDataService, getWorkflowFilenames, testWorkflows } from '@test/nodes/Helpers';
import { getWorkflowFilenames, testWorkflows } from '@test/nodes/Helpers';
describe('Test HTTP Request Node', () => {
const baseUrl = 'https://dummyjson.com';
beforeAll(async () => {
await initBinaryDataService();
function getPaginationReturnData(this: nock.ReplyFnContext, limit = 10, skip = 0) {
const nextUrl = `${baseUrl}/users?skip=${skip + limit}&limit=${limit}`;