Skip to content

Commit

Permalink
FIX the out of memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Mar 11, 2019
1 parent c04fbe5 commit 8685e06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ selection
? ''
: `--projects ${jestProjects.join(' ')}`;

spawn(`jest ${projectsParam} ${extraParams}`);
spawn(
`node --max_old_space_size=4096 ./node_modules/.bin/jest ${projectsParam} ${extraParams}`
);
}

nonJestProjects.forEach(key =>
Expand Down

0 comments on commit 8685e06

Please sign in to comment.