mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 09:17:08 +02:00
15 lines
590 B
TypeScript
15 lines
590 B
TypeScript
import 'reflect-metadata';
|
|
import { TaskRunnersConfig } from '@n8n/config';
|
|
import { Container } from '@n8n/di';
|
|
|
|
// Disable task runners until we have fixed the "run test workflows" test
|
|
// to mock the Code Node execution
|
|
const taskRunnersConfig = new TaskRunnersConfig();
|
|
taskRunnersConfig.enabled = false;
|
|
Container.set(TaskRunnersConfig, taskRunnersConfig);
|
|
|
|
process.env.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS = 'false';
|
|
process.env.N8N_VERSION = '0.0.0-test';
|
|
// Disable file access restrictions for tests so they can read/write test files
|
|
process.env.N8N_RESTRICT_FILE_ACCESS_TO = '';
|