cmd/pkgserver: set exit code when running JS tests from CLI

This commit is contained in:
Kat
2026-03-22 05:51:41 +11:00
parent 7697f44d94
commit cd46234892
2 changed files with 7 additions and 1 deletions

View File

@@ -198,6 +198,10 @@ export class StreamReporter implements Reporter {
this.#skips = [];
}
succeeded(): boolean {
return this.#successes.length > 0 && this.#failures.length === 0;
}
register(suites: TestGroup[]) {}
update(path: string[], result: TestResult) {