From e8d82a6348d4cf9fc6a023fe16bf75df7fea61b0 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 20 Dec 2019 20:21:30 +0000 Subject: 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. --- std/testing/README.md | 7 +++++-- std/testing/mod.ts | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'std/testing') 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, -- cgit v1.2.3