diff --git a/package.json b/package.json index c6bc642eb..160608823 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "flow": "flow", "pretest": "npm run code:build", "test": "npm run test:unit", - "test:unit": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest.config.unit.js", + "test:unit": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest.config.unit.js --maxWorkers 2", "test:func": "cross-env NODE_ENV=testOldEnv jest --config ./test/jest.config.func.js --testPathPattern ./test/functional/index*", "test:e2e": "cross-env BABEL_ENV=testOldEnv jest --config ./test/jest.config.e2e.js", "test:all": "npm run test && npm run test:func && npm run test:e2e",