From b5d4312e48d7a78b847fc871bef764b8773fabdf Mon Sep 17 00:00:00 2001 From: Shahriar Shojib Date: Fri, 29 Sep 2023 01:59:57 +0600 Subject: [PATCH] [test] adjust jest concurrency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ff48bffc9..97e43e7894 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "p:lint": "eslint $INIT_CWD/src --color", "p:lint:fix": "eslint $INIT_CWD/src --color --fix", "p:rollup": "cd $INIT_CWD && tsup --config=${PROJECT_CWD}/config/tsup.config.ts", - "p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --passWithNoTests $INIT_CWD ", + "p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --maxWorkers=1 --passWithNoTests $INIT_CWD ", "p:typecheck": "cd $INIT_CWD && tsc --noEmit --emitDeclarationOnly false", "postinstall": "patch-package", "sync:templates": "./scripts/sync-templates.sh \"templates/*\""