@wdio/browser-runner
Version:
A WebdriverIO runner to run unit tests tests in the browser.
43 lines • 1.69 kB
TypeScript
/**
* this file content is assigned to modules we mock out for browser compatibility
*/
export declare const createRequire: () => {
(): void;
resolve(): void;
};
export declare const SUPPORTED_BROWSER: never[];
export declare const locatorStrategy: {};
export declare class EventEmitter {
}
export declare const URL: {
new (url: string | URL, base?: string | URL): URL;
prototype: URL;
canParse(url: string | URL, base?: string | URL): boolean;
createObjectURL(obj: Blob | MediaSource): string;
parse(url: string | URL, base?: string | URL): URL | null;
revokeObjectURL(url: string): void;
};
export declare const pathToFileURL: () => string;
export declare const fileURLToPath: () => string;
export declare const dirname: () => string;
export declare const resolve: () => string;
export declare const download: () => string;
export declare const findEdgePath: () => string;
export declare const sep = "/";
export declare const start: () => void;
export declare const install: () => void;
export declare const computeExecutablePath: () => void;
export declare const Browser: () => void;
export declare const getInstalledBrowsers: () => void;
export declare const canDownload: () => void;
export declare const resolveBuildId: () => void;
export declare const ChromeReleaseChannel: () => void;
export declare const detectBrowserPlatform: () => void;
export declare const type = "browser";
export declare const sync: () => void;
export declare const locateChrome: () => void;
export declare const locateFirefox: () => void;
export declare const locateApp: () => void;
declare const _default: () => void;
export default _default;
//# sourceMappingURL=mock.d.ts.map