mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Remove unneeded mockRestore()s from tests (#919)
This commit is contained in:
parent
3372fd8df8
commit
fb6e2927f7
6 changed files with 5 additions and 28 deletions
|
|
@ -74,8 +74,7 @@ describe('loadGeminiIgnorePatterns', () => {
|
|||
if (actualFs.existsSync(tempDir)) {
|
||||
actualFs.rmSync(tempDir, { recursive: true, force: true });
|
||||
}
|
||||
consoleLogSpy.mockRestore();
|
||||
consoleWarnSpy.mockRestore();
|
||||
vi.restoreAllMocks();
|
||||
});
|
||||
|
||||
it('should load and parse patterns from .geminiignore, ignoring comments and empty lines', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue