goopler/tests/runners/run.server.ts
2023-07-18 22:22:52 -07:00

12 lines
No EOL
212 B
TypeScript

import { test } from "./util/tests"
import { roots } from "./util/roots"
const [completed, result] = test(roots)
if (completed) {
if (!result) {
error("Tests have failed.", 0)
}
} else {
error(result, 0)
}