Commit ebcb23d
committed
fix: add missing Uri and RelativePattern exports to VSCode mock in MCP tests
- Added Uri.file mock function to return proper Uri-like objects
- Added RelativePattern mock constructor
- Fixes test failures where McpHub.ts uses vscode.Uri.file() and vscode.RelativePattern
- All MCP tests now pass (24/24)1 parent 36ff031 commit ebcb23d
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
65 | 81 | | |
66 | 82 | | |
67 | 83 | | |
| |||
93 | 109 | | |
94 | 110 | | |
95 | 111 | | |
96 | | - | |
97 | 112 | | |
98 | 113 | | |
99 | 114 | | |
| |||
0 commit comments