From 45f36a9e4fd78027b7f501a845dbb7db38ae5853 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Mon, 26 Jul 2021 13:58:08 +0800 Subject: [PATCH] test: switch to parallel tests --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 325bbf955..5d8128ebb 100644 --- a/package.json +++ b/package.json @@ -80,10 +80,10 @@ "lint-fix": "eslint --report-unused-disable-directives --fix ./src ./test", "lint": "eslint --report-unused-disable-directives --ignore-pattern '!.ncurc.js' ./src ./test .ncurc.js", "lint-arg": "eslint --report-unused-disable-directives", - "test-cov": "cross-env BABEL_ENV=test nyc mocha --recursive --require @babel/register --reporter progress --timeout 12000", - "test-no-cov": "cross-env BABEL_ENV=test mocha --recursive --require @babel/register --reporter progress --timeout 12000", + "test-cov": "cross-env BABEL_ENV=test nyc mocha --parallel --reporter dot --recursive --require @babel/register --timeout 12000", + "test-no-cov": "cross-env BABEL_ENV=test mocha --parallel --reporter dot --recursive --require @babel/register --timeout 12000", "test-index": "cross-env BABEL_ENV=test mocha --recursive --require @babel/register --reporter progress --timeout 12000 test/rules/index.js", - "test": "cross-env BABEL_ENV=test nyc --reporter text-summary mocha --recursive --require @babel/register --reporter progress --timeout 12000", + "test": "cross-env BABEL_ENV=test nyc --reporter text-summary mocha --parallel --reporter dot --recursive --require @babel/register --timeout 12000", "prepare": "husky install" }, "nyc": {