• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3const common = require('../common');
4const fixtures = require('../common/fixtures');
5const worker = fixtures.path('worker-preload.js');
6const { exec } = require('child_process');
7const kNodeBinary = process.argv[0];
8
9
10exec(`"${kNodeBinary}" -r "${worker}" -pe "1+1"`, common.mustSucceed());
11