mirror of
https://github.com/nodejs/node.git
synced 2025-04-28 13:40:37 +00:00

PR-URL: https://github.com/nodejs/node/pull/29866 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
10 lines
297 B
JavaScript
10 lines
297 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const fixtures = require('../common/fixtures');
|
|
const { execFileSync } = require('child_process');
|
|
|
|
const node = process.argv[0];
|
|
|
|
execFileSync(node, [fixtures.path('es-modules', 'test-esm-ok.mjs')]);
|
|
execFileSync(node, [fixtures.path('es-modules', 'noext')]);
|