@wdio/browser-runner
Version:
A WebdriverIO runner to run unit tests tests in the browser.
10 lines • 838 B
TypeScript
import type { Environment, FrameworkPreset } from '../types.js';
export declare function getTemplate(options: WebdriverIO.BrowserRunnerOptions, env: Environment, spec: string, p?: NodeJS.Process): Promise<string>;
export declare function userfriendlyImport(preset: FrameworkPreset, pkg?: string): Promise<any>;
export declare function normalizeId(id: string, base?: string): string;
export declare function getFilesFromDirectory(dir: string): Promise<string[]>;
export declare function getManualMocks(automockDir: string): Promise<[string, string][]>;
export declare function hasFileByExtensions(p: string, extensions?: string[]): Promise<string | undefined>;
export declare function hasDir(p: string): Promise<boolean>;
export declare function getErrorTemplate(filename: string, error: Error): string;
//# sourceMappingURL=utils.d.ts.map