Skip to content

Commit dcbbb1b

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 178bd05 commit dcbbb1b

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)