mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Fix tests to work in windows (#4754)
This commit is contained in:
committed by
GitHub
parent
d7a304bcff
commit
e21b5c95aa
@@ -309,7 +309,7 @@ ${testRootDir}${path.sep}
|
||||
fileService,
|
||||
});
|
||||
expect(structure).not.toContain('ignored.txt');
|
||||
expect(structure).toContain('node_modules/...');
|
||||
expect(structure).toContain(`node_modules${path.sep}...`);
|
||||
expect(structure).not.toContain('logs.json');
|
||||
});
|
||||
|
||||
@@ -334,7 +334,7 @@ ${testRootDir}${path.sep}
|
||||
});
|
||||
expect(structure).toContain('ignored.txt');
|
||||
// node_modules is still ignored by default
|
||||
expect(structure).toContain('node_modules/...');
|
||||
expect(structure).toContain(`node_modules${path.sep}...`);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user