mocha 3.2.0 → 3.5.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/CHANGELOG.md +178 -0
- package/LICENSE +1 -1
- package/README.md +41 -1
- package/bin/_mocha +29 -2
- package/bin/mocha +4 -0
- package/lib/mocha.js +31 -3
- package/lib/reporters/html.js +4 -2
- package/lib/runnable.js +5 -2
- package/lib/runner.js +11 -6
- package/lib/utils.js +7 -3
- package/mocha.js +2042 -1353
- package/package.json +24 -13
- package/bin/.eslintrc +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "simple, flexible, fun test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mocha",
|
|
@@ -224,6 +224,7 @@
|
|
|
224
224
|
"Roman Shtylman (https://github.com/defunctzombie)",
|
|
225
225
|
"Russ Bradberry <devdazed@me.com> (https://github.com/devdazed)",
|
|
226
226
|
"Russell Munson (https://github.com/rmunson)",
|
|
227
|
+
"Rustem Mustafin <mustafin.rustem@gmail.com> (https://github.com/rulikkk)",
|
|
227
228
|
"Ryan <ryan.shaw@min.vc> (https://github.com/ryan-shaw)",
|
|
228
229
|
"Ryan Hubbard (https://github.com/ryedog)",
|
|
229
230
|
"Ryunosuke Sato <tricknotes.rs@gmail.com> (https://github.com/tricknotes)",
|
|
@@ -298,15 +299,20 @@
|
|
|
298
299
|
"npm": ">= 1.4.x"
|
|
299
300
|
},
|
|
300
301
|
"scripts": {
|
|
301
|
-
"
|
|
302
|
+
"lint": "eslint . bin/*",
|
|
303
|
+
"test": "make test && make clean",
|
|
304
|
+
"precoverage": "rm -rf coverage",
|
|
305
|
+
"coverage": "COVERAGE=true npm run test",
|
|
306
|
+
"postcoverage": "istanbul-combine -d coverage -r lcov -r html coverage/reports/*/*.json",
|
|
307
|
+
"preversion": "make test && rm mocha.js && make mocha.js && git add mocha.js"
|
|
302
308
|
},
|
|
303
309
|
"dependencies": {
|
|
304
310
|
"browser-stdout": "1.3.0",
|
|
305
311
|
"commander": "2.9.0",
|
|
306
|
-
"debug": "2.
|
|
307
|
-
"diff": "
|
|
312
|
+
"debug": "2.6.8",
|
|
313
|
+
"diff": "3.2.0",
|
|
308
314
|
"escape-string-regexp": "1.0.5",
|
|
309
|
-
"glob": "7.
|
|
315
|
+
"glob": "7.1.1",
|
|
310
316
|
"growl": "1.9.2",
|
|
311
317
|
"json3": "3.3.2",
|
|
312
318
|
"lodash.create": "3.1.1",
|
|
@@ -314,25 +320,30 @@
|
|
|
314
320
|
"supports-color": "3.1.2"
|
|
315
321
|
},
|
|
316
322
|
"devDependencies": {
|
|
323
|
+
"@coderbyheart/karma-sauce-launcher": "git://github.com/coderbyheart/karma-sauce-launcher#5259942cd6d40090eaa13ceeef5b0b8738c7710f",
|
|
317
324
|
"assert": "^1.4.1",
|
|
318
325
|
"browserify": "^13.0.0",
|
|
319
326
|
"coffee-script": "^1.10.0",
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"eslint
|
|
323
|
-
"eslint-
|
|
324
|
-
"eslint-
|
|
327
|
+
"coveralls": "^2.11.15",
|
|
328
|
+
"cross-spawn": "^5.1.0",
|
|
329
|
+
"eslint": "^3.11.1",
|
|
330
|
+
"eslint-config-semistandard": "^7.0.0",
|
|
331
|
+
"eslint-config-standard": "^6.2.1",
|
|
332
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
333
|
+
"eslint-plugin-standard": "2.0.1",
|
|
325
334
|
"expect.js": "^0.3.1",
|
|
326
|
-
"
|
|
335
|
+
"istanbul-combine": "^0.3.0",
|
|
336
|
+
"karma": "1.3.0",
|
|
327
337
|
"karma-browserify": "^5.0.5",
|
|
328
338
|
"karma-chrome-launcher": "^2.0.0",
|
|
329
339
|
"karma-expect": "^1.1.2",
|
|
330
340
|
"karma-mocha": "^1.3.0",
|
|
331
|
-
"karma-phantomjs-launcher": "
|
|
332
|
-
"karma-sauce-launcher": "^1.0.0",
|
|
341
|
+
"karma-phantomjs-launcher": "0.2.3",
|
|
333
342
|
"karma-spec-reporter": "0.0.26",
|
|
343
|
+
"nyc": "^10.0.0",
|
|
334
344
|
"os-name": "^2.0.1",
|
|
335
345
|
"phantomjs": "1.9.8",
|
|
346
|
+
"readable-stream": "2.2.11",
|
|
336
347
|
"rimraf": "^2.5.2",
|
|
337
348
|
"should": "^9.0.2",
|
|
338
349
|
"through2": "^2.0.1",
|
package/bin/.eslintrc
DELETED