mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-26 12:01:16 -08:00
test: Fix failing core tests (#12752)
This commit is contained in:
parent
ee08e9e1fe
commit
223ad7d71a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue