summaryrefslogtreecommitdiff
path: root/test/pseudo-tty/test-repl-external-module.js
blob: db9ad29712ed7068e07018ad4fcbccb765621d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict';

require('../common');
const fixtures = require('../common/fixtures');
const { execSync } = require('child_process');

execSync(process.execPath, {
  encoding: 'utf8',
  stdio: 'inherit',
  env: {
    ...process.env,
    NODE_REPL_EXTERNAL_MODULE: fixtures.path('external-repl-module.js'),
  },
});