node/test/es-module/test-esm-assert-strict.mjs
Antoine du Hamel 5f77aebdfb
test: ensure assertions are reachable in test/es-module
PR-URL: https://github.com/nodejs/node/pull/60501
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2025-11-07 09:24:01 +01:00

8 lines
266 B
JavaScript

import '../common/index.mjs';
// eslint-disable-next-line node-core/must-call-assert
import assert, { strict } from 'assert';
// eslint-disable-next-line node-core/must-call-assert
import assertStrict from 'assert/strict';
assert.strictEqual(strict, assertStrict);