UNPKG

cfg-test

Version:

In-source testing using Node.js Test Runner

18 lines 586 B
import * as log from "./log"; export interface RegisterOptions { readonly argv?: readonly string[] | undefined; readonly execArgv?: readonly string[] | undefined; } export declare function register(options?: RegisterOptions | undefined): { log: typeof log; argv: readonly string[]; file: string; execArgv: readonly string[]; isEsmMode: boolean; parentUrl: string; isWatchMode: boolean; isTypeScript: boolean; import(id: string): void; require(id: string, onLoad: (mod: any) => void): void; } | undefined; //# sourceMappingURL=api.d.ts.map