mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
4a97a6e67e
Original: 4de86f04de
18 lines
338 B
TypeScript
18 lines
338 B
TypeScript
import { bench, runIfMain } from "./bench.ts";
|
|
import { runTests } from "./mod.ts";
|
|
|
|
import "./asserts_test.ts";
|
|
|
|
bench(async function testingSerial(b) {
|
|
b.start();
|
|
await runTests();
|
|
b.stop();
|
|
});
|
|
|
|
bench(async function testingParallel(b) {
|
|
b.start();
|
|
await runTests({ parallel: true });
|
|
b.stop();
|
|
});
|
|
|
|
runIfMain(import.meta);
|