diff options
Diffstat (limited to 'testing/main.ts')
| -rw-r--r-- | testing/main.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/main.ts b/testing/main.ts index 077d662ee..00502b237 100644 --- a/testing/main.ts +++ b/testing/main.ts @@ -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(); |
