mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
fix(extension): ci and bug fix
This commit is contained in:
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(() => ({
|
||||||
|
|||||||
Reference in new issue
Block a user