mirror of https://gitee.com/openkylin/nodejs.git
10 lines
294 B
JavaScript
10 lines
294 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const fixtures = require('../common/fixtures');
|
|
const { execFileSync } = require('child_process');
|
|
|
|
const cjsModuleWrapTest = fixtures.path('cjs-module-wrapper.js');
|
|
const node = process.execPath;
|
|
|
|
execFileSync(node, [cjsModuleWrapTest], { stdio: 'pipe' });
|