mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix: add missing vscode.window mock to fix test failures
This commit is contained in:
parent
d2a0390f5d
commit
53bb163883
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,10 @@ vi.mock("vscode", () => ({
|
|||
ConfigurationTarget: {
|
||||
Global: 1,
|
||||
},
|
||||
window: {
|
||||
showErrorMessage: vi.fn().mockResolvedValue(undefined),
|
||||
showInformationMessage: vi.fn().mockResolvedValue(undefined),
|
||||
},
|
||||
}))
|
||||
|
||||
// Mock Package
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue