UNPKG

@wdio/browser-runner

Version:
14 lines 474 B
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