@competent-devs/test-forge
Version:
Package for UI unit test generation based on storybook context
5 lines (4 loc) • 400 B
TypeScript
import { CsfFile } from "storybook/internal/csf-tools";
export declare function generateTests(storyPath: string, csfFile: CsfFile, fileContent: string): Promise<string>;
export declare function autocompleteTest(code: string, indexInput: any, csfFile: CsfFile, fileContent: string): Promise<string>;
export declare function regenerateTestsWithErrors(code: string, errorDetails: string): Promise<any>;