cmd/pkgserver: allow non-global js test suites

This commit is contained in:
Kat
2026-03-20 20:00:54 +11:00
parent e0f32ead04
commit 877be3308e
4 changed files with 94 additions and 16 deletions

View File

@@ -3,5 +3,5 @@
// provides faster iteration, especially for those acclimated to test-driven
// development.
import "./all_tests.js";
import { StreamReporter, run } from "./test.js";
run(new StreamReporter({ writeln: console.log }));
import { StreamReporter, TESTS } from "./test.js";
TESTS.run(new StreamReporter({ writeln: console.log }));