From e1e6de7fde033740d1d1397718b15a9a290c5b1b Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:10:00 +0200 Subject: [PATCH] =?UTF-8?q?assert:=20add=C2=A0`assert/strict`=20alias?= =?UTF-8?q?=C2=A0module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/31553 Refs: https://github.com/nodejs/node/pull/32953 --- doc/api/assert.md | 6 ++++++ lib/assert/strict.js | 3 +++ node.gyp | 1 + test/es-module/test-esm-assert-strict.mjs | 5 +++++ test/parallel/test-assert-strict-exists.js | 6 ++++++ 5 files changed, 21 insertions(+) create mode 100644 lib/assert/strict.js create mode 100644 test/es-module/test-esm-assert-strict.mjs create mode 100644 test/parallel/test-assert-strict-exists.js diff --git a/doc/api/assert.md b/doc/api/assert.md index 9ad01a48f0fd9a..05e796863a463d 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -11,6 +11,9 @@ invariants.