summaryrefslogtreecommitdiff
path: root/std/testing
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2019-12-20 20:21:30 +0000
committerRy Dahl <ry@tinyclouds.org>2019-12-20 15:21:30 -0500
commite8d82a6348d4cf9fc6a023fe16bf75df7fea61b0 (patch)
tree6d9e44694bf55a7e3089b1706dc05919ccc0dc27 /std/testing
parent29562ed61ea42e46c86cef919f27033f6b3427b0 (diff)
feat: Add missing mod.ts files in std (#3509)
std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules.
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,