Fix tests

This commit is contained in:
cte
2025-01-30 21:26:29 -08:00
parent 7282e02de3
commit 901d769bfd
2 changed files with 10 additions and 0 deletions

View File

@@ -52,6 +52,11 @@ const vscode = {
this.id = id this.id = id
} }
}, },
ExtensionMode: {
Production: 1,
Development: 2,
Test: 3,
},
} }
module.exports = vscode module.exports = vscode

View File

@@ -108,6 +108,11 @@ jest.mock("vscode", () => ({
uriScheme: "vscode", uriScheme: "vscode",
language: "en", language: "en",
}, },
ExtensionMode: {
Production: 1,
Development: 2,
Test: 3,
},
})) }))
// Mock sound utility // Mock sound utility