UNPKG

@wdio/browser-runner

Version:
8 lines 380 B
import type { Plugin, WebSocketClient } from 'vite'; import type { Workers } from '@wdio/types'; export type SocketEventHandler = (data: Workers.SocketMessage, client: WebSocketClient) => void; /** * a Vite plugin to help communicate with the worker process */ export declare function workerPlugin(onSocketEvent: SocketEventHandler): Plugin; //# sourceMappingURL=worker.d.ts.map