Skip to content

Commit

Permalink
ci(unit tests): run Jest tests in single thread to prevent OOM exception
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AtofStryker committed Aug 1, 2020
1 parent c3c4162 commit aa7852f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -50,7 +50,7 @@ jobs:
- *restore_node_modules
- run:
name: yarn test:unit
command: yarn test:unit
command: yarn test:unit -w 1
workflows:
version: 2
install-tests:
Expand Down

0 comments on commit aa7852f

Please sign in to comment.