UNPKG

@n1k1t/unit-generator

Version:

Coverage based unit tests AI generator

20 lines 527 B
import { File } from './file'; interface ISpecTest { title: string; content: string; } export declare class Spec extends File { imports: string[]; helpers: string[]; tests: ISpecTest[]; /** Runs `prettier` over the spec file */ pretty(): Promise<void>; parse(): this; write(content?: string): Promise<void>; refresh(): Promise<void>; private extractAstNodes; private extractTests; static build(location: string): Promise<Spec>; } export {}; //# sourceMappingURL=spec.d.ts.map