1 | import { TestRunner } from '@web/test-runner-core';
|
2 | import { TestRunnerConfig } from './config/TestRunnerConfig.js';
|
3 | export interface StartTestRunnerParams {
|
4 | /**
|
5 | * Optional config to merge with the user-defined config.
|
6 | */
|
7 | config?: Partial<TestRunnerConfig>;
|
8 | /**
|
9 | * Whether to read CLI args. Default true.
|
10 | */
|
11 | readCliArgs?: boolean;
|
12 | /**
|
13 | * Whether to read a user config from the file system. Default true.
|
14 | */
|
15 | readFileConfig?: boolean;
|
16 | /**
|
17 | * Name of the configuration to read. Defaults to web-dev-server.config.{mjs,cjs,js}
|
18 | */
|
19 | configName?: string;
|
20 | /**
|
21 | * Whether to automatically exit the process when the server is stopped, killed or an error is thrown.
|
22 | */
|
23 | autoExitProcess?: boolean;
|
24 | /**
|
25 | * Array to read the CLI args from. Defaults to process.argv.
|
26 | */
|
27 | argv?: string[];
|
28 | }
|
29 | /**
|
30 | * Starts the test runner.
|
31 | */
|
32 | export declare function startTestRunner(options?: StartTestRunnerParams): Promise<TestRunner | undefined>;
|
33 | //# sourceMappingURL=startTestRunner.d.ts.map |
\ | No newline at end of file |