Fix parallel testing (denoland/deno_std#309)

Fixes denoland/deno_std#308

Co-authored by @chiefbiiko
Original: cac060f388
This commit is contained in:
Vincent LE GOFF 2019-03-28 17:29:27 +01:00 committed by Ryan Dahl
parent b7022848f6
commit 8f0407efad
2 changed files with 22 additions and 7 deletions

View file

@ -1,3 +1,11 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { runTests } from "./mod.ts";
runTests();
async function main() {
// Testing entire test suite serially
await runTests();
// Testing parallel execution on a subset that does not depend on exec order
await runTests({ parallel: true, only: /^testing/ });
}
main();