mocha 4.0.0 → 5.0.1
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 +1022 -971
- package/CHANGELOG.md.orig +1736 -0
- package/LICENSE +1 -1
- package/README.md +81 -85
- package/README.md.orig +132 -0
- package/bin/.eslintrc.yml +3 -0
- package/bin/_mocha +169 -153
- package/bin/mocha +12 -10
- package/bin/options.js +8 -6
- package/lib/browser/{.eslintrc.yaml → .eslintrc.yml} +0 -0
- package/lib/context.js +9 -15
- package/lib/interfaces/bdd.js +1 -1
- package/lib/mocha.js +23 -0
- package/lib/ms.js +4 -44
- package/lib/reporters/base.js +24 -40
- package/lib/reporters/base.js.orig +498 -0
- package/lib/reporters/progress.js +7 -5
- package/lib/runnable.js +14 -8
- package/lib/runner.js +4 -5
- package/lib/suite.js +5 -5
- package/lib/utils.js +1 -1
- package/mocha.js +7280 -7389
- package/package.json +16 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "simple, flexible, fun test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mocha",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"amsul (https://github.com/amsul)",
|
|
25
25
|
"Andreas Brekken <andreas@brekken.com> (https://github.com/abrkn)",
|
|
26
26
|
"Andreas Lind <andreas@one.com> (https://github.com/papandreou)",
|
|
27
|
+
"Andrew Krawchyk <akrawchyk@gmail.com> (https://github.com/akrawchyk)",
|
|
27
28
|
"Andrew Miller <vnikitin@live.com> (https://github.com/vnikiti)",
|
|
28
29
|
"Andrew Nesbitt <andrewnez@gmail.com> (https://github.com/andrew)",
|
|
29
30
|
"Andrey Popp <8mayday@gmail.com> (https://github.com/andreypopp)",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"Cory Thomas (https://github.com/dump247)",
|
|
65
66
|
"cybertk (https://github.com/cybertk)",
|
|
66
67
|
"Daniel Ericsson (https://github.com/monowerker)",
|
|
68
|
+
"Daniel Ruf (https://github.com/danielruf)",
|
|
67
69
|
"Daniel St. Jules <danielst.jules@gmail.com> (https://github.com/danielstjules)",
|
|
68
70
|
"Daniel Stockman <daniel.stockman@gmail.com> (https://github.com/evocateur)",
|
|
69
71
|
"Dave McKenna <davemckenna01@gmail.com> (https://github.com/davemckenna01)",
|
|
@@ -198,6 +200,7 @@
|
|
|
198
200
|
"Nathan Houle <nathan+github@nathanhoule.com> (https://github.com/ndhoule)",
|
|
199
201
|
"Nathan Rajlich <nathan@tootallnate.net> (https://github.com/TooTallNate)",
|
|
200
202
|
"Nick Fitzgerald (https://github.com/fitzgen)",
|
|
203
|
+
"Nikolaos Georgiou (https://github.com/ngeor)",
|
|
201
204
|
"noirlab (https://github.com/noirlab)",
|
|
202
205
|
"Noshir Patel <nosh@blackpiano.com> (https://github.com/noshir-patel)",
|
|
203
206
|
"OlegTsyba <oleg.tsyba.ua@gmail.com> (https://github.com/OlegTsyba)",
|
|
@@ -295,15 +298,12 @@
|
|
|
295
298
|
"_mocha": "./bin/_mocha"
|
|
296
299
|
},
|
|
297
300
|
"engines": {
|
|
298
|
-
"node": ">= 4.0.0"
|
|
299
|
-
"npm": ">= 2.15.11"
|
|
301
|
+
"node": ">= 4.0.0"
|
|
300
302
|
},
|
|
301
303
|
"scripts": {
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
"prepublishOnly": "rimraf mocha.js && make mocha.js",
|
|
306
|
-
"coveralls": "nyc report --reporter=text-lcov | coveralls"
|
|
304
|
+
"prepublishOnly": "nps test clean build",
|
|
305
|
+
"start": "nps",
|
|
306
|
+
"test": "nps test"
|
|
307
307
|
},
|
|
308
308
|
"dependencies": {
|
|
309
309
|
"browser-stdout": "1.3.0",
|
|
@@ -312,19 +312,19 @@
|
|
|
312
312
|
"diff": "3.3.1",
|
|
313
313
|
"escape-string-regexp": "1.0.5",
|
|
314
314
|
"glob": "7.1.2",
|
|
315
|
-
"growl": "1.10.
|
|
315
|
+
"growl": "1.10.3",
|
|
316
316
|
"he": "1.1.1",
|
|
317
317
|
"mkdirp": "0.5.1",
|
|
318
318
|
"supports-color": "4.4.0"
|
|
319
319
|
},
|
|
320
320
|
"devDependencies": {
|
|
321
321
|
"assert": "^1.4.1",
|
|
322
|
+
"assetgraph-builder": "^5.6.4",
|
|
322
323
|
"browserify": "^14.4.0",
|
|
323
|
-
"buffer": "^4.9.1",
|
|
324
324
|
"coffee-script": "^1.10.0",
|
|
325
325
|
"coveralls": "^3.0.0",
|
|
326
326
|
"cross-spawn": "^5.1.0",
|
|
327
|
-
"eslint": "^4.
|
|
327
|
+
"eslint": "^4.8.0",
|
|
328
328
|
"eslint-config-semistandard": "^11.0.0",
|
|
329
329
|
"eslint-config-standard": "^10.2.1",
|
|
330
330
|
"eslint-plugin-import": "^2.7.0",
|
|
@@ -338,11 +338,13 @@
|
|
|
338
338
|
"karma-expect": "^1.1.2",
|
|
339
339
|
"karma-mocha": "^1.3.0",
|
|
340
340
|
"karma-mocha-reporter": "^2.2.4",
|
|
341
|
-
"karma-phantomjs-launcher": "^1.0.4",
|
|
342
341
|
"karma-sauce-launcher": "^1.2.0",
|
|
342
|
+
"markdown-toc": "^1.2.0",
|
|
343
|
+
"markdownlint-cli": "^0.6.0",
|
|
344
|
+
"nps": "^5.7.1",
|
|
343
345
|
"nyc": "^11.2.1",
|
|
344
346
|
"rimraf": "^2.5.2",
|
|
345
|
-
"
|
|
347
|
+
"svgo": "^0.7.2",
|
|
346
348
|
"through2": "^2.0.1",
|
|
347
349
|
"watchify": "^3.7.0"
|
|
348
350
|
},
|
|
@@ -362,8 +364,7 @@
|
|
|
362
364
|
"fs": false,
|
|
363
365
|
"glob": false,
|
|
364
366
|
"path": false,
|
|
365
|
-
"supports-color": false
|
|
366
|
-
"buffer": "buffer"
|
|
367
|
+
"supports-color": false
|
|
367
368
|
},
|
|
368
369
|
"homepage": "https://mochajs.org",
|
|
369
370
|
"logo": "https://cldup.com/S9uQ-cOLYz.svg"
|