UNPKG

453 BTypeScriptView Raw
1import { Spec } from '@hayspec/spec';
2export interface RunnerResult {
3 file: string;
4 spec: Spec;
5}
6export interface RunnerOptions {
7 cwd?: string;
8 deep?: boolean;
9 dot?: boolean;
10}
11export declare class Runner {
12 protected options: RunnerOptions;
13 results: RunnerResult[];
14 constructor(options?: RunnerOptions);
15 require(...patterns: string[]): Promise<void>;
16 clear(): this;
17 protected loadSpec(file: string): void;
18}