mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 11:48:38 +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 { vi } from "vitest";
|
||||||
|
import type { MockFn } from "../test-utils/vitest-mock-fn.js";
|
||||||
|
|
||||||
export const connectOverCdpMock = vi.fn();
|
export const connectOverCdpMock: MockFn = vi.fn();
|
||||||
export const getChromeWebSocketUrlMock = vi.fn();
|
export const getChromeWebSocketUrlMock: MockFn = vi.fn();
|
||||||
|
|
||||||
vi.mock("playwright-core", () => ({
|
vi.mock("playwright-core", () => ({
|
||||||
chromium: {
|
chromium: {
|
||||||
|
|||||||
Reference in New Issue
Block a user