diff options
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/main.ts | 3 | ||||
| -rw-r--r-- | testing/mod.ts | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/testing/main.ts b/testing/main.ts new file mode 100644 index 000000000..d7e703697 --- /dev/null +++ b/testing/main.ts @@ -0,0 +1,3 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +import { runTests } from "mod.ts"; +runTests(); diff --git a/testing/mod.ts b/testing/mod.ts index 42f3939c5..762d37c48 100644 --- a/testing/mod.ts +++ b/testing/mod.ts @@ -238,7 +238,7 @@ function green_ok() { return FG_GREEN + "ok" + RESET; } -async function runTests() { +export async function runTests() { let passed = 0; let failed = 0; @@ -283,5 +283,3 @@ async function runTests() { }, 0); } } - -setTimeout(runTests, 0); |
