node/test/message/esm_loader_not_found_cjs_hi...

18 lines
325 B
JavaScript

'use strict';
require('../common');
const { spawn } = require('child_process');
const { join } = require('path');
const { fixturesDir } = require('../common/fixtures');
spawn(
process.execPath,
[
join(fixturesDir, 'esm_loader_not_found_cjs_hint_bare.mjs')
],
{
cwd: fixturesDir,
stdio: 'inherit'
}
);