UNPKG

@stryker-mutator/mocha-runner

Version:

A plugin to use the mocha test runner in Stryker, the JavaScript mutation testing framework

19 lines 737 B
import { type RootHookObject } from 'mocha'; import { MochaOptions } from '../src-generated/mocha-runner-options.js'; type LoadOptions = (argv?: string[] | string) => Record<string, any> | undefined; /** * Wraps Mocha class and require for testability */ export declare class LibWrapper { static Mocha: any; static require: NodeJS.Require; static loadOptions: LoadOptions; static collectFiles: ((options: MochaOptions) => string[] | { files: string[]; unmatchedFiles: string[]; }) | undefined; static handleRequires: (requires?: string[]) => Promise<RootHookObject>; static loadRootHooks: ((rootHooks: any) => Promise<any>) | undefined; } export {}; //# sourceMappingURL=lib-wrapper.d.ts.map