mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 04:10:01 +00:00
ci: Disable task runner for core and nodes tests (#12757)
This commit is contained in:
committed by
GitHub
parent
565c7b8b9c
commit
96ab5bc7e6
@@ -1,3 +1,7 @@
|
|||||||
|
// Disable task runners until we have fixed the "run test workflows" test
|
||||||
|
// to mock the Code Node execution
|
||||||
|
process.env.N8N_RUNNERS_ENABLED = 'false';
|
||||||
|
|
||||||
// NOTE: Diagrams in this file have been created with https://asciiflow.com/#/
|
// NOTE: Diagrams in this file have been created with https://asciiflow.com/#/
|
||||||
// If you update the tests, please update the diagrams as well.
|
// If you update the tests, please update the diagrams as well.
|
||||||
// If you add a test, please create a new diagram.
|
// If you add a test, please create a new diagram.
|
||||||
@@ -9,8 +13,6 @@
|
|||||||
// XX denotes that the node is disabled
|
// XX denotes that the node is disabled
|
||||||
// PD denotes that the node has pinned data
|
// 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 { mock } from 'jest-mock-extended';
|
||||||
import { pick } from 'lodash';
|
import { pick } from 'lodash';
|
||||||
import type {
|
import type {
|
||||||
@@ -50,11 +52,6 @@ import { WorkflowExecute } from '../workflow-execute';
|
|||||||
const nodeTypes = Helpers.NodeTypes();
|
const nodeTypes = Helpers.NodeTypes();
|
||||||
|
|
||||||
describe('WorkflowExecute', () => {
|
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', () => {
|
describe('v0 execution order', () => {
|
||||||
const tests: WorkflowTestData[] = legacyWorkflowExecuteTests;
|
const tests: WorkflowTestData[] = legacyWorkflowExecuteTests;
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
import 'reflect-metadata';
|
import 'reflect-metadata';
|
||||||
|
|
||||||
|
// Disable task runners until we have fixed the "run test workflows" test
|
||||||
|
// to mock the Code Node execution
|
||||||
|
process.env.N8N_RUNNERS_ENABLED = 'false';
|
||||||
|
|||||||
Reference in New Issue
Block a user