summaryrefslogtreecommitdiff
path: root/testing/mod.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-08-15 02:04:56 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-08-14 20:04:56 -0400
commit4ce2a321c8da5326901316a5787f0968dbb7b3b2 (patch)
treeadd35f03278bc50390ec1c905b0de0387b1e1b9f /testing/mod.ts
parentd928c0ca31d6ec8533d5fab5d084ad3708f63ad5 (diff)
feat: test runner (denoland/deno_std#516)
Original: https://github.com/denoland/deno_std/commit/c44e5367bfd08d7a69adfa3434c00991509c4a67
Diffstat (limited to 'testing/mod.ts')
-rw-r--r--testing/mod.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/mod.ts b/testing/mod.ts
index fa6fda246..d1ddb9c8c 100644
--- a/testing/mod.ts
+++ b/testing/mod.ts
@@ -315,6 +315,8 @@ export interface RunOptions {
* Runs specified test cases.
* Parallel execution can be enabled via the boolean option; default: serial.
*/
+// TODO: change return type to `Promise<boolean>` - ie. don't
+// exit but return value
export async function runTests({
parallel = false,
exitOnFail = false,