1 | import { Spec } from '@hayspec/spec';
|
2 | export interface RunnerResult {
|
3 | file: string;
|
4 | spec: Spec;
|
5 | }
|
6 | export interface RunnerOptions {
|
7 | cwd?: string;
|
8 | deep?: boolean;
|
9 | dot?: boolean;
|
10 | }
|
11 | export 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 | }
|