mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873)
This commit is contained in:
committed by
GitHub
parent
897338bd24
commit
91069f057e
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user