mirror of
https://github.com/apmantza/pi-lens.git
synced 2026-11-23 15:21:07 +08:00
Validate Vitest summaries before comparing failure identities, preserve project names, and reuse the shared log classifier. Add asymmetric shape and exit-code coverage for the fixer CLI.\n\nRefs #4072
34 lines
764 B
TypeScript
34 lines
764 B
TypeScript
export declare function stripLogDecorations(log: string): string;
|
|
export declare function extractFailingTestIds(log: string): string[];
|
|
export declare function summarizeLog(
|
|
log: string,
|
|
side?: string,
|
|
): {
|
|
testsFailed: number;
|
|
suitesFailed: number;
|
|
unhandledErrors: number;
|
|
};
|
|
export declare function validateLog(
|
|
log: string,
|
|
side?: string,
|
|
): {
|
|
ids: string[];
|
|
testsFailed: number;
|
|
suitesFailed: number;
|
|
unhandledErrors: number;
|
|
};
|
|
export declare function compareFailureSets(
|
|
previous: string[],
|
|
current: string[],
|
|
): {
|
|
fixed: string[];
|
|
newFailures: string[];
|
|
unchanged: string[];
|
|
};
|
|
export declare function parseArgs(argv: string[]): {
|
|
jobA: string;
|
|
jobB: string;
|
|
repository: string;
|
|
};
|
|
export declare function main(argv?: string[]): number;
|