fix(extension): ci and bug fix

This commit is contained in:
Ljy-0827 committed 2026-08-06 16:16:41 +08:00
1 parent cde6f22ecf
commit 9d4ac90592
1 file changed
+2 -2
@@ -329,7 +329,7 @@ describe("ToolDispatcher", () => {
}); });
const order: string[] = []; const order: string[] = [];
const cdp = { const cdp = {
send: vi.fn(async <T,>() => { send: vi.fn(async <T>() => {
order.push("hover"); order.push("hover");
return {} as T; return {} as T;
}), }),
@@ -410,7 +410,7 @@ describe("ToolDispatcher", () => {
}, },
}); });
const cdp = { const cdp = {
send: vi.fn(async <T,>() => ({} as T)), send: vi.fn(async <T>() => ({}) as T),
detachSession: vi.fn(async () => {}), detachSession: vi.fn(async () => {}),
ensureNetworkCapture: vi.fn(async () => {}), ensureNetworkCapture: vi.fn(async () => {}),
networkEntriesSince: vi.fn(() => ({ networkEntriesSince: vi.fn(() => ({