UNPKG

toofast

Version:

The Node.js performance testing tool with unit-test-like API.

31 lines (30 loc) 726 B
import { TestOptions } from './index.js'; /** * Parsed config consumed by the runner. */ export interface Config { /** * The base directory from which config was loaded. */ baseDir: string; /** * An array of URIs of modules that are loaded before each test suite. */ setupFiles: string[]; /** * An array of URIs of test suite modules. */ testFiles: string[]; /** * A list of test name patterns. */ testRegExps: RegExp[]; /** * The default test options. */ testOptions: TestOptions; } /** * Parses CLI arguments and loads config from a file if needed. */ export declare function resolveConfig(argv?: string[], cwd?: string): Config;