mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Remove legacy expression evaluator (#14518)
This commit is contained in:
@@ -12,12 +12,7 @@ import type {
|
||||
IWorkflowExecuteAdditionalData,
|
||||
WorkflowTestData,
|
||||
} from 'n8n-workflow';
|
||||
import {
|
||||
createDeferredPromise,
|
||||
ExpressionEvaluatorProxy,
|
||||
UnexpectedError,
|
||||
Workflow,
|
||||
} from 'n8n-workflow';
|
||||
import { createDeferredPromise, UnexpectedError, Workflow } from 'n8n-workflow';
|
||||
import nock from 'nock';
|
||||
import { readFileSync, mkdtempSync, existsSync, rmSync } from 'node:fs';
|
||||
import { tmpdir } from 'node:os';
|
||||
@@ -49,7 +44,6 @@ export class NodeTestHarness {
|
||||
private readonly packagePaths: string[];
|
||||
|
||||
constructor({ additionalPackagePaths }: TestHarnessOptions = {}) {
|
||||
ExpressionEvaluatorProxy.setEvaluator('tournament');
|
||||
this.testDir = path.dirname(callsites()[1].getFileName()!);
|
||||
this.packagePaths = additionalPackagePaths ?? [];
|
||||
this.packagePaths.unshift(this.packageDir);
|
||||
|
||||
Reference in New Issue
Block a user