test: Get rid of a warning log in tests (#12289)

This commit is contained in:
Tomi Turtiainen 2024-12-19 14:19:06 +02:00 committed by GitHub
parent 01b781a108
commit 0ba4c6e942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ mkdirSync(baseDir, { recursive: true });
const testDir = mkdtempSync(baseDir);
mkdirSync(join(testDir, '.n8n'));
process.env.N8N_USER_FOLDER = testDir;
process.env.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS = 'false';
writeFileSync(
join(testDir, '.n8n/config'),