mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
Backport-PR-URL: https://github.com/nodejs/node/pull/27124 PR-URL: https://github.com/nodejs/node/pull/21573 Fixes: https://github.com/nodejs/node/issues/17396 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
10 lines
290 B
JavaScript
10 lines
290 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const fixtures = require('../common/fixtures');
|
|
const { execFileSync } = require('child_process');
|
|
|
|
const cjsModuleWrapTest = fixtures.path('cjs-module-wrap.js');
|
|
const node = process.argv[0];
|
|
|
|
execFileSync(node, [cjsModuleWrapTest], { stdio: 'pipe' });
|