@wdio/browser-runner
Version:
A WebdriverIO runner to run unit tests tests in the browser.
8 lines • 380 B
TypeScript
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