set maxWorkers=2 for test:unit

This commit is contained in:
Pooya Parsa 2018-03-19 11:27:28 +03:30
parent d780794dfd
commit 4500abc1a8

View File

@ -41,9 +41,9 @@
"nuxt": "./bin/nuxt"
},
"scripts": {
"test": "npm run build-fixtures && npm run test:unit",
"build-fixtures": "node ./scripts/build-fixtures",
"test": "npm run build-fixtures && jest",
"test:unit": "jest",
"test:unit": "jest --maxWorkers=2",
"coverage": "codecov",
"lint": "eslint --ext .js,.mjs,.vue bin/* build/ lib/ test/ examples/",
"precommit": "npm run lint",