Skip to content

Commit c063a0c

Browse files
committed
remaining
1 parent f00790a commit c063a0c

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/node-integration-tests/suites/public-api/onUnhandledRejectionIntegration

1 file changed

+1
-1
lines changed

dev-packages/node-integration-tests/suites/public-api/onUnhandledRejectionIntegration/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test rejection`);
6565

6666
const testScriptPath = path.resolve(__dirname, 'mode-none.js');
6767

68-
childProcess.exec(`node ${testScriptPath}`, { encoding: 'utf8' }, (err, stdout, stderr) => {
68+
childProcess.execFile('node', [testScriptPath], { encoding: 'utf8' }, (err, stdout, stderr) => {
6969
expect(err).toBeNull();
7070
expect(stdout).toBe("I'm alive!");
7171
expect(stderr).toBe('');

0 commit comments

Comments
 (0)