From f4d479067cedd39899bc3f41bc49508fbdef9112 Mon Sep 17 00:00:00 2001 From: Eugene Molodkin Date: Tue, 7 Jan 2025 13:02:55 +0100 Subject: [PATCH] wip: fix linter issues --- .../src/evaluation.ee/test-runner/test-runner.service.ee.ts | 4 ++-- .../cli/test/integration/evaluation/test-runs.api.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cli/src/evaluation.ee/test-runner/test-runner.service.ee.ts b/packages/cli/src/evaluation.ee/test-runner/test-runner.service.ee.ts index c9dc71a548..f2e351edef 100644 --- a/packages/cli/src/evaluation.ee/test-runner/test-runner.service.ee.ts +++ b/packages/cli/src/evaluation.ee/test-runner/test-runner.service.ee.ts @@ -1,6 +1,5 @@ import { Service } from '@n8n/di'; import { parse } from 'flatted'; -import { NodeConnectionType, Workflow } from 'n8n-workflow'; import { ExecutionCancelledError, NodeConnectionType, Workflow } from 'n8n-workflow'; import type { IDataObject, @@ -277,7 +276,8 @@ export class TestRunnerService { const testCaseExecution = await this.runTestCase( workflow, executionData, - pastExecution.executionData.workflowData,test.mockedNodes, + pastExecution.executionData.workflowData, + test.mockedNodes, user.id, abortSignal, ); diff --git a/packages/cli/test/integration/evaluation/test-runs.api.test.ts b/packages/cli/test/integration/evaluation/test-runs.api.test.ts index def5b95ffe..7b12e55f11 100644 --- a/packages/cli/test/integration/evaluation/test-runs.api.test.ts +++ b/packages/cli/test/integration/evaluation/test-runs.api.test.ts @@ -1,5 +1,5 @@ -import { mockInstance } from 'n8n-core/test/utils'; import { Container } from '@n8n/di'; +import { mockInstance } from 'n8n-core/test/utils'; import type { TestDefinition } from '@/databases/entities/test-definition.ee'; import type { User } from '@/databases/entities/user'; @@ -7,7 +7,7 @@ import type { WorkflowEntity } from '@/databases/entities/workflow-entity'; import { ProjectRepository } from '@/databases/repositories/project.repository'; import { TestDefinitionRepository } from '@/databases/repositories/test-definition.repository.ee'; import { TestRunRepository } from '@/databases/repositories/test-run.repository.ee'; -import { TestRunnerService } from '@/evaluation/test-runner/test-runner.service.ee'; +import { TestRunnerService } from '@/evaluation.ee/test-runner/test-runner.service.ee'; import { createUserShell } from '@test-integration/db/users'; import { createWorkflow } from '@test-integration/db/workflows'; import * as testDb from '@test-integration/test-db';