Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aa7852f

Browse files
committedAug 1, 2020
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
 

‎.circleci/config.yml

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.