feat(std/node): consistent Node.js builtin shapes (#8274)

This commit is contained in:
Guy Bedford 2020-11-09 06:25:13 -08:00 committed by GitHub
parent 293cae5e1f
commit 8b7f5531ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 1900 additions and 1843 deletions

View file

@ -13,7 +13,6 @@ import {
import AssertionError from "./assertion_error.ts";
import assert, {
assert as assert_,
AssertionError as AssertionError_,
deepStrictEqual,
fail,
@ -26,13 +25,7 @@ import assert, {
} from "./assert.ts";
Deno.test("API should be exposed", () => {
assertStrictEquals(
assert_,
assert,
"`assert()` should be the default export",
);
assertStrictEquals(assert_, denoAssert, "`assert()` should be exposed");
assertStrictEquals(assert_, ok, "`assert()` should be an alias of `ok()`");
assertStrictEquals(assert, ok, "`assert()` should be an alias of `ok()`");
assertStrictEquals(
assertEquals,
deepStrictEqual,