summaryrefslogtreecommitdiff
path: root/std/testing
diff options
context:
space:
mode:
Diffstat (limited to 'std/testing')
-rw-r--r--std/testing/README.md7
-rw-r--r--std/testing/mod.ts7
2 files changed, 12 insertions, 2 deletions
diff --git a/std/testing/README.md b/std/testing/README.md
index 8d02f9d79..afaf76b86 100644
--- a/std/testing/README.md
+++ b/std/testing/README.md
@@ -48,8 +48,11 @@ Asserts are exposed in `testing/asserts.ts` module.
Basic usage:
```ts
-import { runTests, test } from "https://deno.land/std/testing/mod.ts";
-import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+import {
+ assertEquals,
+ runTests,
+ test
+} from "https://deno.land/std/testing/mod.ts";
test({
name: "testing example",
diff --git a/std/testing/mod.ts b/std/testing/mod.ts
index 0d5d2702a..06a1df958 100644
--- a/std/testing/mod.ts
+++ b/std/testing/mod.ts
@@ -1,5 +1,12 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+export * from "./asserts.ts";
+export * from "./bench.ts";
+import diff from "./diff.ts";
+export { diff };
+export * from "./format.ts";
+export * from "./runner.ts";
+
import {
bgRed,
white,