Skip to content

Commit dbb78f4

Browse files
committed
refactor: replace node with process.execPath
This is ensure that the same node executable is used to spawn Jest (cherry picked from commit 24a6501)
1 parent e1398d3 commit dbb78f4

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_angular/src/builders/jest

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/builders/jest/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default createBuilder(
8282
}
8383

8484
// Execute Jest on the built output directory.
85-
const jestProc = execFile('node', [
85+
const jestProc = execFile(process.execPath, [
8686
'--experimental-vm-modules',
8787
jest,
8888

0 commit comments

Comments
 (0)