Skip to content

Commit f2031a6

Browse files
committed
Fix node-base tests
1 parent 6e6ba2c commit f2031a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nodes-base/test/setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ import 'reflect-metadata';
55
process.env.N8N_RUNNERS_ENABLED = 'false';
66
process.env.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS = 'false';
77
process.env.N8N_VERSION = '0.0.0-test';
8+
// Disable file access restrictions for tests so they can read/write test files
9+
process.env.N8N_RESTRICT_FILE_ACCESS_TO = '';

0 commit comments

Comments
 (0)