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

@@ -4,14 +4,10 @@ import os from 'node:os';
import path from 'path';
import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
import { getResultNodeData, initBinaryDataService, readJsonFileSync } from '@test/nodes/Helpers';
import { getResultNodeData, readJsonFileSync } from '@test/nodes/Helpers';
if (os.platform() !== 'win32') {
describe('Execute Compression Node', () => {
beforeEach(async () => {
await initBinaryDataService();
});
const workflowData = readJsonFileSync('nodes/Compression/test/node/workflow.compression.json');
const node = workflowData.nodes.find((n: IDataObject) => n.name === 'Read Binary File');