Run mocha in parallel mode by default (#393)
[poolifier.git] / package.json
index 36d02773dfd93f131035358c02f9c047a324dd5b..b9e486928a4883ecd3c6ec430ee9fb0395045304 100644 (file)
@@ -10,9 +10,9 @@
     "benchmark": "npm run build && node -r source-map-support/register benchmarks/internal/bench.js",
     "benchmark:debug": "npm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js",
     "benchmark:prod": "npm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js",
-    "test": "npm run build && nyc mocha --parallel 'tests/**/*.test.js'",
-    "test:debug": "npm run build && mocha --inspect 'tests/**/*.test.js'",
-    "test:prod": "npm run build:prod && nyc mocha --parallel 'tests/**/*.test.js'",
+    "test": "npm run build && nyc mocha 'tests/**/*.test.js'",
+    "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
+    "test:prod": "npm run build:prod && nyc mocha 'tests/**/*.test.js'",
     "sonar": "sonar-scanner",
     "coverage": "nyc report --reporter=lcov",
     "coverage:html": "nyc report --reporter=html",
@@ -78,6 +78,7 @@
     "eslint-plugin-spellcheck": "0.0.17",
     "expect": "^27.0.2",
     "microtime": "^3.0.0",
+    "mochawesome": "^6.2.2",
     "mocha": "^9.0.2",
     "nyc": "^15.1.0",
     "prettier": "^2.3.1",