mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
feat(std/node): consistent Node.js builtin shapes (#8274)
This commit is contained in:
parent
293cae5e1f
commit
8b7f5531ee
27 changed files with 1900 additions and 1843 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue