@wdio/browser-runner
Version:
A WebdriverIO runner to run unit tests tests in the browser.
14 lines • 474 B
TypeScript
import type { MockRequestEvent } from './types.js';
export declare class MockHandler {
#private;
manualMocks: string[];
constructor(options: WebdriverIO.BrowserRunnerOptions, config: WebdriverIO.Config);
get mocks(): Map<string, MockRequestEvent>;
unmock(moduleName: string): void;
resolveId(id: string): Promise<string | undefined>;
/**
* reset manual mocks between tests
*/
resetMocks(): void;
}
//# sourceMappingURL=mock.d.ts.map