UNPKG

@axe-core/cli

Version:

A CLI for accessibility testing using axe-core

20 lines (19 loc) 687 B
import execa from 'execa'; /** * Run the CLI with the given `args`. * * Will not reject if the CLI exits with a non-zero exit code. It is expected that you check the `.exitCode` value yourself. * * @param args CLI arguments to pass */ declare const runCLI: (...args: string[]) => Promise<execa.ExecaChildProcess<string>>; export default runCLI; /** * Run the CLI with the given `args` and `options`. * * Set `DEBUG_CLI_TESTS` for additional debugging support (logging). * * @param args CLI arguments to pass * @param options Options for `execa` */ export declare const runCLIWithOptions: (args: string[], options: execa.Options) => Promise<execa.ExecaChildProcess<string>>;