node/test/es-module/test-esm-assert-strict.mjs
ExE Boss 50228cf6ff
assert: add assert/strict alias module
Refs: https://github.com/nodejs/node/pull/31553
Refs: https://github.com/nodejs/node/pull/32953

PR-URL: https://github.com/nodejs/node/pull/34001
Refs: https://github.com/nodejs/node/pull/34002
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-06-25 08:37:48 -07:00

6 lines
156 B
JavaScript

import '../common/index.mjs';
import assert, { strict } from 'assert';
import assertStrict from 'assert/strict';
assert.strictEqual(strict, assertStrict);