From 4500abc1a88b2f6dd5514beb0db0f02b80ebe48d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 19 Mar 2018 11:27:28 +0330 Subject: [PATCH] set maxWorkers=2 for test:unit --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ba5e513514..9bd0be630d 100644 --- a/package.json +++ b/package.json @@ -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",