Skip to content

Commit 24a6501

Browse files
alan-agius4angular-robot[bot]
authored andcommitted
refactor: replace node with process.execPath
This is ensure that the same node executable is used to spawn Jest
1 parent 3ec8827 commit 24a6501

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)