nodejs/test/parallel/test-module-wrapper.js

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' });