Skip to content

Commit 9d5be80

Browse files
committed
fix: add proper TypeScript typing for RelativePattern in McpHub test mock
1 parent 622694b commit 9d5be80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/mcp/__tests__/McpHub.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ vi.mock("vscode", () => ({
7070
parse: (path: string) => ({ fsPath: path, path, scheme: "file" }),
7171
},
7272
RelativePattern: class {
73+
base: any
74+
pattern: string
7375
constructor(base: any, pattern: string) {
7476
this.base = base
7577
this.pattern = pattern

0 commit comments

Comments
 (0)