Skip to content

Commit d916aa3

Browse files
Ref(CI): Reduce processor/ram used by jest test locally. (#5055)
* Update package.json * Update packages/core/package.json * Update packages/core/package.json --------- Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>
1 parent 534ba8c commit d916aa3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"clean:plugin": "expo-module clean plugin",
3131
"circularDepCheck": "madge --circular dist/js/index.js && madge --circular metro.js && madge --circular expo.js",
3232
"test": "yarn test:sdk && yarn test:tools",
33-
"test:sdk": "npx jest",
33+
"test:sdk": "sh -c 'if [ \"$CI\" = \"true\" ]; then yarn test:sdk-ci; else yarn test:sdk-local; fi'",
34+
"test:sdk-ci": "npx jest",
35+
"test:sdk-local": "jest --maxWorkers=8",
3436
"test:tools": "npx jest --config jest.config.tools.js",
3537
"test:watch": "npx jest --watch",
3638
"yalc:add:sentry-javascript": "yalc add @sentry/browser @sentry/core @sentry/react @sentry/types",

0 commit comments

Comments
 (0)