Commit 097dbd3
committed
fix: Add missing workspace mock to registerCommands test
- Add workspace.workspaceFolders mock to VSCode mock in registerCommands.spec.ts
- Fixes test failure where claude-code modules access vscode.workspace at module level
- Resolves 'No workspace export is defined on the vscode mock' error1 parent b1b2cdc commit 097dbd3
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
0 commit comments