forked from rosa/hakurei
cmd/pkgserver: implement JS test DSL and runner
This commit is contained in:
7
cmd/pkgserver/ui/static/run_tests.ts
Normal file
7
cmd/pkgserver/ui/static/run_tests.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
// Many editors have terminal emulators built in, so running tests with NodeJS
|
||||
// provides faster iteration, especially for those acclimated to test-driven
|
||||
// development.
|
||||
import "./all_tests.js";
|
||||
import { run, StreamReporter } from "./test.js";
|
||||
run(new StreamReporter({ writeln: console.log }));
|
||||
Reference in New Issue
Block a user