mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
Fix parallel testing (denoland/deno_std#309)
Fixes denoland/deno_std#308
Co-authored by @chiefbiiko
Original: cac060f388
This commit is contained in:
parent
b7022848f6
commit
8f0407efad
2 changed files with 22 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue