mocha 3.1.2 → 3.4.2
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 +190 -0
- package/LICENSE +1 -1
- package/README.md +42 -3
- package/bin/_mocha +19 -2
- package/bin/mocha +3 -0
- package/lib/interfaces/common.js +1 -1
- package/lib/mocha.js +11 -3
- package/lib/reporters/html.js +4 -2
- package/lib/reporters/list.js +1 -1
- package/lib/reporters/xunit.js +1 -1
- package/lib/runnable.js +9 -4
- package/lib/runner.js +5 -6
- package/lib/utils.js +9 -4
- package/mocha.js +1236 -587
- package/package.json +31 -17
- package/bin/.eslintrc +0 -3
- package/lib/utils.js.orig +0 -804
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.2",
|
|
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.0",
|
|
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",
|
|
@@ -317,24 +323,26 @@
|
|
|
317
323
|
"assert": "^1.4.1",
|
|
318
324
|
"browserify": "^13.0.0",
|
|
319
325
|
"coffee-script": "^1.10.0",
|
|
320
|
-
"
|
|
321
|
-
"eslint
|
|
322
|
-
"eslint-config-
|
|
323
|
-
"eslint-
|
|
324
|
-
"eslint-plugin-
|
|
326
|
+
"coveralls": "^2.11.15",
|
|
327
|
+
"eslint": "^3.11.1",
|
|
328
|
+
"eslint-config-semistandard": "^7.0.0",
|
|
329
|
+
"eslint-config-standard": "^6.2.1",
|
|
330
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
331
|
+
"eslint-plugin-standard": "2.0.1",
|
|
325
332
|
"expect.js": "^0.3.1",
|
|
326
|
-
"
|
|
333
|
+
"istanbul-combine": "^0.3.0",
|
|
334
|
+
"karma": "1.3.0",
|
|
327
335
|
"karma-browserify": "^5.0.5",
|
|
328
336
|
"karma-chrome-launcher": "^2.0.0",
|
|
329
337
|
"karma-expect": "^1.1.2",
|
|
330
|
-
"karma-
|
|
331
|
-
"karma-phantomjs-launcher": "^0.2
|
|
332
|
-
"karma-sauce-launcher": "
|
|
338
|
+
"karma-mocha": "^1.3.0",
|
|
339
|
+
"karma-phantomjs-launcher": "^1.0.2",
|
|
340
|
+
"karma-sauce-launcher": "coderbyheart/karma-sauce-launcher",
|
|
333
341
|
"karma-spec-reporter": "0.0.26",
|
|
334
|
-
"
|
|
342
|
+
"nyc": "^10.0.0",
|
|
335
343
|
"phantomjs": "1.9.8",
|
|
336
344
|
"rimraf": "^2.5.2",
|
|
337
|
-
"should": "^
|
|
345
|
+
"should": "^11.1.1",
|
|
338
346
|
"through2": "^2.0.1",
|
|
339
347
|
"watchify": "^3.7.0"
|
|
340
348
|
},
|
|
@@ -360,5 +368,11 @@
|
|
|
360
368
|
"supports-color": false
|
|
361
369
|
},
|
|
362
370
|
"homepage": "https://mochajs.org",
|
|
363
|
-
"logo": "https://cldup.com/S9uQ-cOLYz.svg"
|
|
371
|
+
"logo": "https://cldup.com/S9uQ-cOLYz.svg",
|
|
372
|
+
"greenkeeper": {
|
|
373
|
+
"ignore": [
|
|
374
|
+
"phantomjs",
|
|
375
|
+
"lodash.create"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
364
378
|
}
|
package/bin/.eslintrc
DELETED