mocha 10.7.3 → 10.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha",
3
- "version": "10.7.3",
3
+ "version": "10.8.0",
4
4
  "type": "commonjs",
5
5
  "description": "simple, flexible, fun test framework",
6
6
  "keywords": [
@@ -50,12 +50,12 @@
50
50
  "docs:api": "jsdoc -c jsdoc.conf.json",
51
51
  "docs:site": "eleventy",
52
52
  "docs": "run-s docs-clean docs:*",
53
- "format:eslint": "eslint --fix . 'bin/*'",
54
- "format:prettier": "prettier --write '!(package*).json' '.*.json' 'lib/**/*.json' '*.yml'",
53
+ "format:eslint": "eslint --fix . \"bin/*\"",
54
+ "format:prettier": "prettier --write \"!(package*).json\" \".*.json\" \"lib/**/*.json\" \"*.yml\"",
55
55
  "format": "run-s format:*",
56
56
  "lint:knip": "knip --cache",
57
- "lint:code": "eslint . 'bin/*' --max-warnings 0",
58
- "lint:markdown": "markdownlint '*.md' 'docs/**/*.md' '.github/*.md' 'lib/**/*.md' 'test/**/*.md' 'example/**/*.md' -i CHANGELOG.md",
57
+ "lint:code": "eslint . \"bin/*\" --max-warnings 0",
58
+ "lint:markdown": "markdownlint \"*.md\" \"docs/**/*.md\" \".github/*.md\" \"lib/**/*.md\" \"test/**/*.md\" \"example/**/*.md\" -i CHANGELOG.md",
59
59
  "lint": "run-p lint:*",
60
60
  "prepublishOnly": "run-s clean build",
61
61
  "test-browser-run": "cross-env NODE_PATH=. karma start ./karma.conf.js --single-run",
@@ -70,7 +70,7 @@
70
70
  "test-coverage-generate": "nyc report --reporter=lcov --reporter=text",
71
71
  "test-node-run-only": "nyc --no-clean --reporter=json node bin/mocha.js",
72
72
  "test-node-run": "nyc --no-clean --reporter=json node bin/mocha.js --forbid-only",
73
- "test-node:integration": "run-s clean build && npm run -s test-node-run -- --parallel --timeout 10000 --slow 3750 'test/integration/**/*.spec.js'",
73
+ "test-node:integration": "run-s clean build && npm run -s test-node-run -- --parallel --timeout 10000 --slow 3750 \"test/integration/**/*.spec.js\"",
74
74
  "test-node:interfaces:bdd": "npm run -s test-node-run -- --ui bdd test/interfaces/bdd.spec",
75
75
  "test-node:interfaces:exports": "npm run -s test-node-run -- --ui exports test/interfaces/exports.spec",
76
76
  "test-node:interfaces:qunit": "npm run -s test-node-run -- --ui qunit test/interfaces/qunit.spec",
@@ -82,9 +82,9 @@
82
82
  "test-node:only:globalQunit": "npm run -s test-node-run-only -- --ui qunit test/only/global/qunit.spec --no-parallel",
83
83
  "test-node:only:globalTdd": "npm run -s test-node-run-only -- --ui tdd test/only/global/tdd.spec --no-parallel",
84
84
  "test-node:only": "run-p test-node:only:*",
85
- "test-node:reporters": "npm run -s test-node-run -- 'test/reporters/*.spec.js'",
85
+ "test-node:reporters": "npm run -s test-node-run -- \"test/reporters/*.spec.js\"",
86
86
  "test-node:requires": "npm run -s test-node-run -- --require coffeescript/register --require test/require/a.js --require test/require/b.coffee --require test/require/c.js --require test/require/d.coffee test/require/require.spec.js",
87
- "test-node:unit": "npm run -s test-node-run -- 'test/unit/*.spec.js' 'test/node-unit/**/*.spec.js'",
87
+ "test-node:unit": "npm run -s test-node-run -- \"test/unit/*.spec.js\" \"test/node-unit/**/*.spec.js\"",
88
88
  "test-node": "run-s test-coverage-clean test-node:* test-coverage-generate",
89
89
  "test-smoke": "node ./bin/mocha --no-config test/smoke/smoke.spec.js",
90
90
  "test": "run-s lint test-node test-browser",