mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 06:12:12 +00:00
fix(ci): add explicit mock types in pw-session mock setup
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { vi } from "vitest";
|
||||
import type { MockFn } from "../test-utils/vitest-mock-fn.js";
|
||||
|
||||
export const connectOverCdpMock = vi.fn();
|
||||
export const getChromeWebSocketUrlMock = vi.fn();
|
||||
export const connectOverCdpMock: MockFn = vi.fn();
|
||||
export const getChromeWebSocketUrlMock: MockFn = vi.fn();
|
||||
|
||||
vi.mock("playwright-core", () => ({
|
||||
chromium: {
|
||||
|
||||
Reference in New Issue
Block a user