mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
8ac9aef8b1
Fixes #40305 PR-URL: https://github.com/nodejs/node/pull/40325 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
10 lines
262 B
JavaScript
10 lines
262 B
JavaScript
import '../common/index.mjs';
|
|
import assert from 'assert';
|
|
// ./test-esm-ok.mjs
|
|
import ok from '../fixtures/es-modules/test-%65%73%6d-ok.mjs';
|
|
// ./test-esm-comma,.mjs
|
|
import comma from '../fixtures/es-modules/test-esm-comma%2c.mjs';
|
|
|
|
assert(ok);
|
|
assert(comma);
|