Files
compiler-explorer/static/tests/frontend-testing.interfaces.ts
T
Mats Larsen 4f9a34c511 Also enable prettier for recursive directories in static (#3539)
* Also enable prettier for recursive directories in static

* Fix formatting

* Fixes
2022-04-24 19:11:48 +02:00

11 lines
232 B
TypeScript

export interface ITestable {
readonly description: string;
run(): Promise<void>;
}
export interface IFrontendTesting {
add(test: ITestable);
getAllTestNames(): string[];
run(testToRun: string): Promise<void>;
}