test: Fix failing core tests (#12752)

This commit is contained in:
Tomi Turtiainen 2025-01-21 15:47:21 +02:00 committed by GitHub
parent ee08e9e1fe
commit 223ad7d71a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,8 @@
// XX denotes that the node is disabled
// PD denotes that the node has pinned data
import { TaskRunnersConfig } from '@n8n/config';
import { Container } from '@n8n/di';
import { mock } from 'jest-mock-extended';
import { pick } from 'lodash';
import type {
@ -48,6 +50,11 @@ import { WorkflowExecute } from '../workflow-execute';
const nodeTypes = Helpers.NodeTypes();
describe('WorkflowExecute', () => {
const taskRunnersConfig = Container.get(TaskRunnersConfig);
// Disable task runners until we have fixed the "run test workflows" test
// to mock the Code Node execution
taskRunnersConfig.enabled = false;
describe('v0 execution order', () => {
const tests: WorkflowTestData[] = legacyWorkflowExecuteTests;