Skip to content

Commit aa7852f

Browse files
committed
ci(unit tests): run Jest tests in single thread to prevent OOM exception
Since the circle container is only 4GB, running jest tests in parallel is problematic as the container frequently runs out of memory. The memoryt can either be increased, or the tests can run in a single thread
1 parent c3c4162 commit aa7852f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- *restore_node_modules
5151
- run:
5252
name: yarn test:unit
53-
command: yarn test:unit
53+
command: yarn test:unit -w 1
5454
workflows:
5555
version: 2
5656
install-tests:

0 commit comments

Comments
 (0)