示例工程 51-test-pyramid
51-test-pyramid/app/.tsc/shared/spec.d.ts
import { type Todo } from "./todo";
export type Layer = "unit" | "integration" | "e2e";
export type CaseResult = {
layer: Layer;
name: string;
pass: boolean;
ms: number;
detail: string;
};
export declare function runCases(seed: Todo[], inject: boolean): {
results: CaseResult[];
todos: Todo[];
};
export declare const CASE_COUNTS: {
unit: number;
integration: number;
};
//# sourceMappingURL=spec.d.ts.map