fix(ci): add explicit mock types in pw-session mock setup

This commit is contained in:
Peter Steinberger
2026-02-22 08:05:12 +00:00
parent 008a8c9dc6
commit 96674ca301

View File

@@ -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: {