mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
fix: prevent bogus shell permission rules in tests
This commit is contained in:
parent
fbf5ed57d6
commit
fcd31e2adf
5 changed files with 64 additions and 2 deletions
|
|
@ -9,4 +9,10 @@ if (process.env['NO_COLOR'] !== undefined) {
|
|||
delete process.env['NO_COLOR'];
|
||||
}
|
||||
|
||||
// Avoid writing per-session debug log files during CLI tests.
|
||||
// Individual tests can still opt in by overriding this env var explicitly.
|
||||
if (process.env['QWEN_DEBUG_LOG_FILE'] === undefined) {
|
||||
process.env['QWEN_DEBUG_LOG_FILE'] = '0';
|
||||
}
|
||||
|
||||
import './src/test-utils/customMatchers.js';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue