UNPKG

cbfl

Version:

library that can be used to automatically find points of failure in TypeScript Modules that are tested with Mocha

13 lines (12 loc) 498 B
interface IFailureLocalizationOptions { mochaCommand: string; targetBranch: string; gitlabApiToken: string; } export declare const traverseHistory: (mochaCommand: string, hooksFilePath: string) => Promise<void>; export declare const createFailureLocalizationHooks: ({ mochaCommand, targetBranch, gitlabApiToken, }: IFailureLocalizationOptions) => { beforeAll: () => Promise<void>; afterEach: (currentTest: any) => Promise<void>; afterAll: () => Promise<void>; }; export {};