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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,161 @@
|
|
|
1
|
+
# 5.0.1 / 2018-02-07
|
|
2
|
+
|
|
3
|
+
...your garden-variety patch release.
|
|
4
|
+
|
|
5
|
+
:heart: Special thanks to [Wallaby.js](https://wallabyjs.com) for their continued support!
|
|
6
|
+
|
|
7
|
+
## :bug: Fixes
|
|
8
|
+
|
|
9
|
+
- [#1838]: `--delay` now works with `.only()` ([@silviom])
|
|
10
|
+
- [#3119]: Plug memory leak present in v8 ([@boneskull])
|
|
11
|
+
|
|
12
|
+
## :book: Documentation
|
|
13
|
+
|
|
14
|
+
- [#3132], [#3098]: Update `--glob` docs ([@outsideris])
|
|
15
|
+
- [#3212]: Update [Wallaby.,js](https://wallabyjs.com)-related docs ([@ArtemGovorov])
|
|
16
|
+
- [#3205]: Remove outdated cruft ([@boneskull])
|
|
17
|
+
|
|
18
|
+
## :nut_and_bolt: Other
|
|
19
|
+
|
|
20
|
+
- [#3224]: Add proper Wallaby.js config ([@ArtemGovorov])
|
|
21
|
+
- [#3230]: Update copyright year ([@josephlin55555])
|
|
22
|
+
|
|
23
|
+
[#1838]: https://github.com/mochajs/mocha/issues/1838
|
|
24
|
+
[#3119]: https://github.com/mochajs/mocha/issues/3119
|
|
25
|
+
[#3132]: https://github.com/mochajs/mocha/issues/3132
|
|
26
|
+
[#3098]: https://github.com/mochajs/mocha/issues/3098
|
|
27
|
+
[#3212]: https://github.com/mochajs/mocha/pulls/3212
|
|
28
|
+
[#3205]: https://github.com/mochajs/mocha/pulls/3205
|
|
29
|
+
[#3224]: https://github.com/mochajs/mocha/pulls/3224
|
|
30
|
+
[#3230]: https://github.com/mochajs/mocha/pulls/3230
|
|
31
|
+
[@silviom]: https://github.com/silviom
|
|
32
|
+
[@outsideris]: https://github.com/outsideris
|
|
33
|
+
[@ArtemGovorov]: https://github.com/ArtemGovorov
|
|
34
|
+
[@josephlin55555]: https://github.com/josephlin55555
|
|
35
|
+
|
|
36
|
+
# 5.0.0 / 2018-01-17
|
|
37
|
+
|
|
38
|
+
Mocha starts off 2018 right by again dropping support for *unmaintained rubbish*.
|
|
39
|
+
|
|
40
|
+
Welcome [@vkarpov15] to the team!
|
|
41
|
+
|
|
42
|
+
## :boom: Breaking Changes
|
|
43
|
+
|
|
44
|
+
- **[#3148]: Drop support for IE9 and IE10** ([@Bamieh])
|
|
45
|
+
Practically speaking, only code which consumes (through bundling or otherwise) the userland [buffer](https://npm.im/buffer) module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
|
|
46
|
+
|
|
47
|
+
## :tada: Enhancements
|
|
48
|
+
|
|
49
|
+
- [#3181]: Add useful new `--file` command line argument ([documentation](https://mochajs.org/#--file-file)) ([@hswolff])
|
|
50
|
+
|
|
51
|
+
## :bug: Fixes
|
|
52
|
+
|
|
53
|
+
- [#3187]: Fix inaccurate test duration reporting ([@FND])
|
|
54
|
+
- [#3202]: Fix bad markup in HTML reporter ([@DanielRuf])
|
|
55
|
+
|
|
56
|
+
## :sunglasses: Developer Experience
|
|
57
|
+
|
|
58
|
+
- [#2352]: Ditch GNU Make for [nps](https://npm.im/nps) to manage scripts ([@TedYav])
|
|
59
|
+
|
|
60
|
+
## :book: Documentation
|
|
61
|
+
|
|
62
|
+
- [#3137]: Add missing `--no-timeouts` docs ([@dfberry])
|
|
63
|
+
- [#3134]: Improve `done()` callback docs ([@maraisr])
|
|
64
|
+
- [#3135]: Fix cross-references ([@vkarpov15])
|
|
65
|
+
- [#3163]: Fix tpyos ([@tbroadley])
|
|
66
|
+
- [#3177]: Tweak `README.md` organization ([@xxczaki])
|
|
67
|
+
- Misc updates ([@boneskull])
|
|
68
|
+
|
|
69
|
+
## :nut_and_bolt: Other
|
|
70
|
+
|
|
71
|
+
- [#3118]: Move TextMate Integration to [its own repo](https://github.com/mochajs/mocha.tmbundle) ([@Bamieh])
|
|
72
|
+
- [#3185]: Add Node.js v9 to build matrix; remove v7 ([@xxczaki])
|
|
73
|
+
- [#3172]: Markdown linting ([@boneskull])
|
|
74
|
+
- Test & Netlify updates ([@Munter], [@boneskull])
|
|
75
|
+
|
|
76
|
+
[#3148]: https://github.com/mochajs/mocha/issues/3148
|
|
77
|
+
[#3181]: https://github.com/mochajs/mocha/issues/3181
|
|
78
|
+
[#3187]: https://github.com/mochajs/mocha/issues/3187
|
|
79
|
+
[#3202]: https://github.com/mochajs/mocha/pull/3148
|
|
80
|
+
[#2352]: https://github.com/mochajs/mocha/issues/2352
|
|
81
|
+
[#3137]: https://github.com/mochajs/mocha/issues/3137
|
|
82
|
+
[#3134]: https://github.com/mochajs/mocha/issues/3134
|
|
83
|
+
[#3135]: https://github.com/mochajs/mocha/issues/3135
|
|
84
|
+
[#3163]: https://github.com/mochajs/mocha/pull/3163
|
|
85
|
+
[#3177]: https://github.com/mochajs/mocha/pull/3177
|
|
86
|
+
[#3118]: https://github.com/mochajs/mocha/issues/3118
|
|
87
|
+
[#3185]: https://github.com/mochajs/mocha/issues/3185
|
|
88
|
+
[#3172]: https://github.com/mochajs/mocha/issues/3172
|
|
89
|
+
[@hswolff]: https://github.com/hswolff
|
|
90
|
+
[@FND]: https://github.com/FND
|
|
91
|
+
[@DanielRuf]: https://github.com/DanielRuf
|
|
92
|
+
[@TedYav]: https://github.com/TedYav
|
|
93
|
+
[@dfberry]: https://github.com/dfberry
|
|
94
|
+
[@maraisr]: https://github.com/maraisr
|
|
95
|
+
[@vkarpov15]: https://github.com/vkarpov15
|
|
96
|
+
[@tbroadley]: https://github.com/tbroadley
|
|
97
|
+
|
|
98
|
+
# 4.1.0 / 2017-12-28
|
|
99
|
+
|
|
100
|
+
This is mainly a "housekeeping" release.
|
|
101
|
+
|
|
102
|
+
Welcome [@Bamieh] and [@xxczaki] to the team!
|
|
103
|
+
|
|
104
|
+
## :bug: Fixes
|
|
105
|
+
|
|
106
|
+
- [#2661]: `progress` reporter now accepts reporter options ([@canoztokmak])
|
|
107
|
+
- [#3142]: `xit` in `bdd` interface now properly returns its `Test` object ([@Bamieh])
|
|
108
|
+
- [#3075]: Diffs now computed eagerly to avoid misinformation when reported ([@abrady0])
|
|
109
|
+
- [#2745]: `--help` will now help you even if you have a `mocha.opts` ([@Zarel])
|
|
110
|
+
|
|
111
|
+
## :tada: Enhancements
|
|
112
|
+
|
|
113
|
+
- [#2514]: The `--no-diff` flag will completely disable diff output ([@CapacitorSet])
|
|
114
|
+
- [#3058]: All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic])
|
|
115
|
+
|
|
116
|
+
## :book: Documentation
|
|
117
|
+
|
|
118
|
+
- [#3170]: Optimization and site speed improvements ([@Munter])
|
|
119
|
+
- [#2987]: Moved the old [site repo](https://github.com/mochajs/mochajs.github.io) into the main repo under `docs/` ([@boneskull])
|
|
120
|
+
- [#2896]: Add [maintainer guide](https://github.com/mochajs/mocha/blob/master/MAINTAINERS.md) ([@boneskull])
|
|
121
|
+
- Various fixes and updates ([@xxczaki], [@maty21], [@leedm777])
|
|
122
|
+
|
|
123
|
+
## :nut_and_bolt: Other
|
|
124
|
+
|
|
125
|
+
- Test improvements and fixes ([@eugenet8k], [@ngeor], [@38elements], [@Gerhut], [@ScottFreeCode], [@boneskull])
|
|
126
|
+
- Refactoring and cruft excision ([@38elements], [@Bamieh], [@finnigantime], [@boneskull])
|
|
127
|
+
|
|
128
|
+
[#2661]: https://github.com/mochajs/mocha/issues/2661
|
|
129
|
+
[#3142]: https://github.com/mochajs/mocha/issues/3142
|
|
130
|
+
[#3075]: https://github.com/mochajs/mocha/pull/3075
|
|
131
|
+
[#2745]: https://github.com/mochajs/mocha/issues/2745
|
|
132
|
+
[#2514]: https://github.com/mochajs/mocha/issues/2514
|
|
133
|
+
[#3058]: https://github.com/mochajs/mocha/issues/3058
|
|
134
|
+
[#3170]: https://github.com/mochajs/mocha/pull/3170
|
|
135
|
+
[#2987]: https://github.com/mochajs/mocha/issues/2987
|
|
136
|
+
[#2896]: https://github.com/mochajs/mocha/issues/2896
|
|
137
|
+
[@canoztokmak]: https://github.com/canoztokmak
|
|
138
|
+
[@Bamieh]: https://github.com/Bamieh
|
|
139
|
+
[@abrady0]: https://github.com/abrady0
|
|
140
|
+
[@Zarel]: https://github.com/Zarel
|
|
141
|
+
[@CapacitorSet]: https://github.com/CapacitorSet
|
|
142
|
+
[@xxczaki]: https://github.com/xxczaki
|
|
143
|
+
[@maty21]: https://github.com/maty21
|
|
144
|
+
[@leedm777]: https://github.com/leedm777
|
|
145
|
+
[@eugenet8k]: https://github.com/eugenet8k
|
|
146
|
+
[@38elements]: https://github.com/38elements
|
|
147
|
+
[@Gerhut]: https://github.com/Gerhut
|
|
148
|
+
[@finnigantime]: https://github.com/finnigantime
|
|
149
|
+
|
|
150
|
+
# 4.0.1 / 2017-10-05
|
|
151
|
+
|
|
152
|
+
## :bug: Fixes
|
|
153
|
+
|
|
154
|
+
- [#3051]: Upgrade Growl to v1.10.3 to fix its [peer dep problems](https://github.com/tj/node-growl/pull/68) ([@dpogue])
|
|
155
|
+
|
|
156
|
+
[#3051]: https://github.com/mochajs/mocha/pull/3051
|
|
157
|
+
[@dpogue]: https://github.com/dpogue
|
|
158
|
+
|
|
1
159
|
# 4.0.0 / 2017-10-02
|
|
2
160
|
|
|
3
161
|
You might want to read this before filing a new bug! :stuck_out_tongue_closed_eyes:
|
|
@@ -47,18 +205,18 @@ For more info, please [read this article](https://boneskull.com/mocha-v4-nears-r
|
|
|
47
205
|
|
|
48
206
|
- [#2890]: Speed up build by (re-)consolidating SauceLabs tests ([@boneskull])
|
|
49
207
|
|
|
50
|
-
[#3016]: https://github.com/mochajs/issues/3016
|
|
51
|
-
[#2979]: https://github.com/mochajs/issues/2979
|
|
52
|
-
[#2615]: https://github.com/mochajs/issues/2615
|
|
53
|
-
[#2879]: https://github.com/mochajs/issues/2879
|
|
54
|
-
[#2095]: https://github.com/mochajs/issues/2095
|
|
55
|
-
[#2295]: https://github.com/mochajs/issues/2295
|
|
56
|
-
[#2686]: https://github.com/mochajs/issues/2686
|
|
57
|
-
[#2814]: https://github.com/mochajs/pull/2814
|
|
58
|
-
[#2493]: https://github.com/mochajs/issues/2493
|
|
59
|
-
[#2628]: https://github.com/mochajs/issues/2628
|
|
60
|
-
[#3020]: https://github.com/mochajs/pull/3020
|
|
61
|
-
[#2890]: https://github.com/mochajs/issues/2890
|
|
208
|
+
[#3016]: https://github.com/mochajs/mocha/issues/3016
|
|
209
|
+
[#2979]: https://github.com/mochajs/mocha/issues/2979
|
|
210
|
+
[#2615]: https://github.com/mochajs/mocha/issues/2615
|
|
211
|
+
[#2879]: https://github.com/mochajs/mocha/issues/2879
|
|
212
|
+
[#2095]: https://github.com/mochajs/mocha/issues/2095
|
|
213
|
+
[#2295]: https://github.com/mochajs/mocha/issues/2295
|
|
214
|
+
[#2686]: https://github.com/mochajs/mocha/issues/2686
|
|
215
|
+
[#2814]: https://github.com/mochajs/mocha/pull/2814
|
|
216
|
+
[#2493]: https://github.com/mochajs/mocha/issues/2493
|
|
217
|
+
[#2628]: https://github.com/mochajs/mocha/issues/2628
|
|
218
|
+
[#3020]: https://github.com/mochajs/mocha/pull/3020
|
|
219
|
+
[#2890]: https://github.com/mochajs/mocha/issues/2890
|
|
62
220
|
[@skeggse]: https://github.com/skeggse
|
|
63
221
|
[@olsonpm]: https://github.com/olsonpm
|
|
64
222
|
[@ngeor]: https://github.com/ngeor
|
|
@@ -96,7 +254,7 @@ For more info, please [read this article](https://boneskull.com/mocha-v4-nears-r
|
|
|
96
254
|
- [#2918]: Drop bash dependency for glob-related tests ([@ScottFreeCode])
|
|
97
255
|
- [#2922]: Improve `--compilers` coverage ([@ScottFreeCode])
|
|
98
256
|
- [#2981]: Fix tpyos and spelling errors ([@jsoref])
|
|
99
|
-
|
|
257
|
+
|
|
100
258
|
[#2997]: https://github.com/mochajs/mocha/pull/2997
|
|
101
259
|
[#2957]: https://github.com/mochajs/mocha/pull/2957
|
|
102
260
|
[#2918]: https://github.com/mochajs/mocha/pull/2918
|
|
@@ -342,7 +500,7 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
342
500
|
## :bug: Bug Fix
|
|
343
501
|
|
|
344
502
|
- [#1417]: Don't report `done()` was called multiple times when it wasn't ([@frankleonrose])
|
|
345
|
-
|
|
503
|
+
|
|
346
504
|
## :nut_and_bolt: Other
|
|
347
505
|
|
|
348
506
|
- [#2490]: Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic])
|
|
@@ -371,7 +529,7 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
371
529
|
- [#2445]: Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter])
|
|
372
530
|
- [#2315]: Fix uncaught TypeError thrown from callback stack ([@1999])
|
|
373
531
|
- Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull])
|
|
374
|
-
- [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull])
|
|
532
|
+
- [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull])
|
|
375
533
|
- [#2496]: Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull])
|
|
376
534
|
|
|
377
535
|
[#2496]: https://github.com/mochajs/mocha/issues/2496
|
|
@@ -394,7 +552,7 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
394
552
|
|
|
395
553
|
- [#2424]: Fix error loading Mocha via Require.js ([@boneskull])
|
|
396
554
|
- [#2417]: Fix execution of *deeply* nested `describe.only()` suites ([@not-an-aardvark])
|
|
397
|
-
- Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull])
|
|
555
|
+
- Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull])
|
|
398
556
|
|
|
399
557
|
[#2417]: https://github.com/mochajs/mocha/issues/2417
|
|
400
558
|
[#2424]: https://github.com/mochajs/mocha/issues/2424
|
|
@@ -465,8 +623,7 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
465
623
|
|
|
466
624
|
## :nut_and_bolt: Other
|
|
467
625
|
|
|
468
|
-
- Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`,
|
|
469
|
-
and `supports-color`. ([@boneskull], [@RobLoach])
|
|
626
|
+
- Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`, and `supports-color`. ([@boneskull], [@RobLoach])
|
|
470
627
|
- Add Windows to CI. ([@boneskull], [@TimothyGu])
|
|
471
628
|
- Ensure appropriate `engines` field in `package.json`. ([@shinnn], [@boneskull])
|
|
472
629
|
- [#2348]: Upgrade ESLint to v2 ([@anthony-redfox])
|
|
@@ -537,30 +694,33 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
537
694
|
|
|
538
695
|
# 2.5.0 / 2016-05-23
|
|
539
696
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
697
|
+
This has been awhile coming! We needed to feel confident that the next release wouldn't break browser compatibility (e.g. the last few patch releases).
|
|
698
|
+
|
|
699
|
+
## Browser Tests in CI
|
|
700
|
+
|
|
701
|
+
We now run unit tests against PhantomJS v1.x and an assortment of browsers on [SauceLabs](https://saucelabs.com), including:
|
|
702
|
+
|
|
703
|
+
- Internet Explorer v8.0
|
|
704
|
+
- Chrome (latest)
|
|
705
|
+
- Firefox (latest)
|
|
706
|
+
- Safari (latest)
|
|
707
|
+
- Microsoft Edge (latest)
|
|
708
|
+
|
|
709
|
+
To accomplish this, we now run Mocha's unit tests (and a handful of integration tests) via [Karma](https://npmjs.com/package/karma) and a modified [karma-mocha](https://npmjs.com/package/karma-mocha). Along the way, we had to solve issue [#880] (apologies to @mderijcke and @sukima who had PRs addressing this), as well as replace most usages of [should](https://npmjs.com/package/should) with [expect.js](https://npmjs.com/package/expect.js) for IE8.
|
|
710
|
+
|
|
711
|
+
Going forward, when sending PRs, your code will *only* run against PhantomJS v1.x (and not hit SauceLabs) [because security](https://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests).
|
|
712
|
+
|
|
713
|
+
## Node.js 6.x
|
|
714
|
+
|
|
715
|
+
Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "officially" supported. Mocha *still retains support* for Node.js 0.8.x.
|
|
716
|
+
|
|
717
|
+
## "Minor" Release
|
|
718
|
+
|
|
719
|
+
You'll see mostly bug fixes below, but also a couple features--as such, it's a "minor" release.
|
|
720
|
+
|
|
721
|
+
## TYVM
|
|
722
|
+
|
|
723
|
+
Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)!
|
|
564
724
|
|
|
565
725
|
- [#2079] - Add browser checks to CI; update [browserify](https://npmjs.com/package/browserify) to v13.0.0 ([@dasilvacontin], [@ScottFreeCode], [@boneskull] via c04c1d7, 0b1e9b3, 0dde0fa, f8a3d86, 9e8cbaa)
|
|
566
726
|
- [#880] - Make Mocha browserifyable ([@boneskull] via 524862b)
|
|
@@ -620,35 +780,31 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
620
780
|
[@astorije]: https://github.com/astorije
|
|
621
781
|
[@dasilvacontin]: https://github.com/dasilvacontin
|
|
622
782
|
|
|
623
|
-
2.4.5 / 2016-01-28
|
|
624
|
-
==================
|
|
783
|
+
# 2.4.5 / 2016-01-28
|
|
625
784
|
|
|
626
|
-
|
|
627
|
-
|
|
785
|
+
- [#2080], [#2078], [#2072], [#2073], [#1200] - Revert changes to console colors in changeset [1192914](https://github.com/mochajs/mocha/commit/119291449cd03a11cdeda9e37cf718a69a012896) and subsequent related changes thereafter. Restores compatibility with IE8 & PhantomJS. See also [mantoni/mochify.js#129](https://github.com/mantoni/mochify.js/issues/129) and [openlayers/ol3#4746](https://github.com/openlayers/ol3/pull/4746) ([@boneskull])
|
|
786
|
+
- [#2082] - Fix several test assertions ([@mislav])
|
|
628
787
|
|
|
629
788
|
[#1200]: https://github.com/mochajs/mocha/issues/1200
|
|
630
789
|
[#2082]: https://github.com/mochajs/mocha/pull/2082
|
|
631
790
|
|
|
632
|
-
2.4.4 / 2016-01-27
|
|
633
|
-
==================
|
|
791
|
+
# 2.4.4 / 2016-01-27
|
|
634
792
|
|
|
635
|
-
|
|
793
|
+
- [#2080] - Fix broken RequireJS compatibility ([@boneskull])
|
|
636
794
|
|
|
637
795
|
[#2080]: https://github.com/mochajs/mocha/issues/2080
|
|
638
796
|
|
|
639
|
-
2.4.3 / 2016-01-27
|
|
640
|
-
==================
|
|
797
|
+
# 2.4.3 / 2016-01-27
|
|
641
798
|
|
|
642
|
-
|
|
799
|
+
- [#2078] - Fix broken IE8 ([@boneskull])
|
|
643
800
|
|
|
644
801
|
[#2078]: https://github.com/mochajs/mocha/issues/2078
|
|
645
802
|
|
|
646
|
-
2.4.2 / 2016-01-26
|
|
647
|
-
==================
|
|
803
|
+
# 2.4.2 / 2016-01-26
|
|
648
804
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
805
|
+
- [#2053] - Fix web worker compatibility ([@mislav])
|
|
806
|
+
- [#2072] - Fix Windows color output ([@thedark1337])
|
|
807
|
+
- [#2073] - Fix colors in `progress` and `landing` reporters ([@gyandeeps])
|
|
652
808
|
|
|
653
809
|
[#2053]: https://github.com/mochajs/mocha/pull/2053
|
|
654
810
|
[#2072]: https://github.com/mochajs/mocha/pull/2072
|
|
@@ -656,40 +812,38 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
656
812
|
[@gyandeeps]: https://github.com/gyandeeps
|
|
657
813
|
[@thedark1337]: https://github.com/thedark1337
|
|
658
814
|
|
|
659
|
-
2.4.1 / 2016-01-26
|
|
660
|
-
==================
|
|
815
|
+
# 2.4.1 / 2016-01-26
|
|
661
816
|
|
|
662
|
-
|
|
817
|
+
- [#2067] - Fix HTML/doc reporter regressions ([@danielstjules])
|
|
663
818
|
|
|
664
819
|
[#2067]: https://github.com/mochajs/mocha/pull/2067
|
|
665
820
|
|
|
666
|
-
2.4.0 / 2016-01-25
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
* [#1967] Silence Bluebird js warnings ([@krisr])
|
|
821
|
+
# 2.4.0 / 2016-01-25
|
|
822
|
+
|
|
823
|
+
- [#1945] - Correctly skip tests when skipping in suite's before() ([@ryanshawty])
|
|
824
|
+
- [#2056] - chore(license): update license year to 2016 ([@pra85])
|
|
825
|
+
- [#2048] - Fix `this.skip` from spec with HTML reporter ([@mislav])
|
|
826
|
+
- [#2033] - Update tests for newer versions of should.js ([@tomhughes])
|
|
827
|
+
- [#2037] - Fix for memory leak caused by referenced to deferred test ([@bd82])
|
|
828
|
+
- [#2038] - Also run Travis-CI on node.js 4 & 5 ([@bd82])
|
|
829
|
+
- [#2028] - Remove reference to test before afterAll hook runs ([@stonelgh])
|
|
830
|
+
- Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules])
|
|
831
|
+
- [#1977] - safely stringify PhantomJS undefined value ([@ahamid])
|
|
832
|
+
- Add the ability to retry tests ([@@longlho])
|
|
833
|
+
- [#1982] - Enable --log-timer-events option [@Alaneor]
|
|
834
|
+
- Fix #1980: Load mocha.opts from bin/mocha and bin/_mocha ([@danielstjules])
|
|
835
|
+
- [#1976] - Simplify function call ([@iclanzan])
|
|
836
|
+
- [#1963] - Add support --perf-basic-prof ([@robraux])
|
|
837
|
+
- [#1981] - Fix HTML reporter handling of done and exceptions ([@Standard8])
|
|
838
|
+
- [#1993] - propagate "file" property for "exports" interface ([@segrey])
|
|
839
|
+
- [#1999] - Add support for strict mode ([@tmont])
|
|
840
|
+
- [#2005] - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves])
|
|
841
|
+
- [#2021] - Fix non ES5 compliant regexp ([@zetaben])
|
|
842
|
+
- [#1965] - Don't double install BDD UI ([@cowboyd])
|
|
843
|
+
- [#1995] - Make sure the xunit output dir exists before writing to it ([@ianwremmel])
|
|
844
|
+
- Use chalk for the base reporter colors; closes #1200 ([@boneskull])
|
|
845
|
+
- Fix requiring custom interfaces ([@jgkim])
|
|
846
|
+
- [#1967] Silence Bluebird js warnings ([@krisr])
|
|
693
847
|
|
|
694
848
|
[#1945]: https://github.com/mochajs/mocha/pull/1945
|
|
695
849
|
[#2056]: https://github.com/mochajs/mocha/pull/2056
|
|
@@ -733,27 +887,25 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
733
887
|
[@jgkim]: https://github.com/jgkim
|
|
734
888
|
[@krisr]: https://github.com/krisr
|
|
735
889
|
|
|
736
|
-
2.3.4 / 2015-11-15
|
|
737
|
-
==================
|
|
890
|
+
# 2.3.4 / 2015-11-15
|
|
738
891
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
892
|
+
- Update debug dependency to 2.2.0
|
|
893
|
+
- remove duplication of mocha.opts on process.argv
|
|
894
|
+
- Fix typo in test/reporters/nyan.js
|
|
742
895
|
|
|
743
|
-
2.3.3 / 2015-09-19
|
|
744
|
-
==================
|
|
896
|
+
# 2.3.3 / 2015-09-19
|
|
745
897
|
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
898
|
+
- [#1875] - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules])
|
|
899
|
+
- [#1864] - Fix xunit missing output with --reporter-options output ([@danielstjules])
|
|
900
|
+
- [#1846] - Support all harmony flags ([@danielstjules])
|
|
901
|
+
- Fix fragile xunit reporter spec ([@danielstjules])
|
|
902
|
+
- [#1669] - Fix catch uncaught errors outside test suite execution ([@danielstjules])
|
|
903
|
+
- [#1868] - Revert jade to support npm < v1.3.7 ([@danielstjules])
|
|
904
|
+
- [#1766] - Don't remove modules/components from stack trace in the browser ([@danielstjules])
|
|
905
|
+
- [#1798] - Fix correctly attribute mutiple done err with hooks ([@danielstjules])
|
|
906
|
+
- Fix use utils.reduce for IE8 compatibility ([@wsw0108])
|
|
907
|
+
- Some linting errors fixed by [@danielstjules]
|
|
908
|
+
- Call the inspect() function if message is not set ([@kevinburke])
|
|
757
909
|
|
|
758
910
|
[#1875]: https://github.com/mochajs/mocha/issues/1875
|
|
759
911
|
[#1864]: https://github.com/mochajs/mocha/issues/1864
|
|
@@ -766,55 +918,53 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
766
918
|
[@wsw0108]: https://github.com/wsw0108
|
|
767
919
|
[@kevinburke]: https://github.com/kevinburke
|
|
768
920
|
|
|
769
|
-
2.3.2 / 2015-09-07
|
|
770
|
-
|
|
771
|
-
|
|
921
|
+
# 2.3.2 / 2015-09-07
|
|
922
|
+
|
|
923
|
+
- [#1868] - Fix compatibility with older versions of NPM ([@boneskull])
|
|
772
924
|
|
|
773
925
|
[#1868]: https://github.com/mochajs/mocha/issues/1868
|
|
774
926
|
|
|
775
|
-
2.3.1 / 2015-09-06
|
|
776
|
-
==================
|
|
927
|
+
# 2.3.1 / 2015-09-06
|
|
777
928
|
|
|
778
|
-
|
|
929
|
+
- [#1812] - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows])
|
|
779
930
|
|
|
780
931
|
[#1812]: https://github.com/mochajs/mocha/issues/1812
|
|
781
932
|
[aaroncrows]: https://github.com/aaroncrows
|
|
782
933
|
|
|
783
|
-
2.3.0 / 2015-08-30
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
* [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh])
|
|
934
|
+
# 2.3.0 / 2015-08-30
|
|
935
|
+
|
|
936
|
+
- [#553] - added --allowUncaught option ([@amsul])
|
|
937
|
+
- [#1490] - Allow --async-only to be satisfied by returning a promise ([@jlai])
|
|
938
|
+
- [#1829] - support --max-old-space-size ([@gigadude])
|
|
939
|
+
- [#1811] - upgrade Jade dependency ([@outsideris])
|
|
940
|
+
- [#1769] - Fix async hook error handling ([@ajaykodali])
|
|
941
|
+
- [#1230] - More descriptive beforeEach/afterEach messages ([@duncanbeevers])
|
|
942
|
+
- [#1787] - Scope loading behaviour instead of using early return ([@aryeguy])
|
|
943
|
+
- [#1789] - Fix: html-runner crashing ([@sunesimonsen])
|
|
944
|
+
- [#1749] - Fix maximum call stack error on large amount of tests ([@tinganho])
|
|
945
|
+
- [#1230] - Decorate failed hook titles with test title ([@duncanbeevers])
|
|
946
|
+
- [#1260] - Build using Browserify ([@ndhoule])
|
|
947
|
+
- [#1728] - Don't use `__proto__` ([@ndhoule])
|
|
948
|
+
- [#1781] - Fix hook error tests ([@glenjamin])
|
|
949
|
+
- [#1754] - Allow boolean --reporter-options ([@papandreou])
|
|
950
|
+
- [#1766] - Fix overly aggressive stack suppression ([@moll])
|
|
951
|
+
- [#1752] - Avoid potential infinite loop ([@gsilk])
|
|
952
|
+
- [#1761] - Fix problems running under PhantomJS ([@chromakode])
|
|
953
|
+
- [#1700] - Fix more problems running under PhantomJS ([@jbnicolai])
|
|
954
|
+
- [#1774] - Support escaped spaces in CLI options ([@adamgruber])
|
|
955
|
+
- [#1687] - Fix HTML reporter links with special chars ([@benvinegar])
|
|
956
|
+
- [#1359] - Adopt code style and enforce it using ESLint ([@ndhoule] w/ assist from [@jbnicolai] & [@boneskull])
|
|
957
|
+
- various refactors ([@jbnicolai])
|
|
958
|
+
- [#1758] - Add cross-frame compatible Error checking ([@outdooricon])
|
|
959
|
+
- [#1741] - Remove moot `version` property from bower.json ([@kkirsche])
|
|
960
|
+
- [#1739] - Improve `HISTORY.md` ([@rstacruz])
|
|
961
|
+
- [#1730] - Support more io.js flags ([@ryedog])
|
|
962
|
+
- [#1349] - Allow HTML in HTML reporter errors ([@papandreou] / [@sunesimonsen])
|
|
963
|
+
- [#1572] - Prevent default browser behavior for failure/pass links ([@jschilli])
|
|
964
|
+
- [#1630] - Support underscored harmony flags ([@dominicbarnes])
|
|
965
|
+
- [#1718] - Support more harmony flags ([@slyg])
|
|
966
|
+
- [#1689] - Add stack to JSON-stream reporter ([@jonathandelgado])
|
|
967
|
+
- [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh])
|
|
818
968
|
|
|
819
969
|
[#553]: https://github.com/mochajs/mocha/issues/553
|
|
820
970
|
[#1490]: https://github.com/mochajs/mocha/issues/1490
|
|
@@ -876,16 +1026,15 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
876
1026
|
[@sunesimonsen]: https://github.com/sunesimonsen
|
|
877
1027
|
[@tinganho]: https://github.com/tinganho
|
|
878
1028
|
|
|
879
|
-
2.2.5 / 2015-05-14
|
|
880
|
-
==================
|
|
1029
|
+
# 2.2.5 / 2015-05-14
|
|
881
1030
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1031
|
+
- [#1699] - Upgrade jsdiff to v1.4.0 ([@nylen])
|
|
1032
|
+
- [#1648] - fix diff background colors in the console ([@nylen])
|
|
1033
|
+
- [#1327] - fix tests running twice, a regression issue. ([#1686], [@danielstjules])
|
|
1034
|
+
- [#1675] - add integration tests ([@danielstjules])
|
|
1035
|
+
- [#1682] - use a valid SPDX license identifier in package.json ([@kemitchell])
|
|
1036
|
+
- [#1660] - fix assertion of invalid dates ([#1661], [@a8m])
|
|
1037
|
+
- [#1241] - fix issue with multiline diffs appearing as single line ([#1655], [@a8m])
|
|
889
1038
|
|
|
890
1039
|
[#1699]: https://github.com/mochajs/mocha/issues/1699
|
|
891
1040
|
[#1648]: https://github.com/mochajs/mocha/issues/1648
|
|
@@ -902,875 +1051,777 @@ Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
|
|
|
902
1051
|
[@kemitchell]: https://github.com/kemitchell
|
|
903
1052
|
[@a8m]: https://github.com/a8m
|
|
904
1053
|
|
|
905
|
-
2.2.4 / 2015-04-08
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
1.
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
1.
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
1.
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
1.
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
0.
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
* Fixed node-inspector support, swapped `--debug` for `debug` to match node.
|
|
1505
|
-
needed)
|
|
1506
|
-
Closes #247
|
|
1507
|
-
|
|
1508
|
-
0.12.1 / 2012-02-14
|
|
1509
|
-
==================
|
|
1510
|
-
|
|
1511
|
-
* Added `npm docs mocha` support [TooTallNate]
|
|
1512
|
-
* Added a `Context` object used for hook and test-case this. Closes #253
|
|
1513
|
-
* Fixed `Suite#clone()` `.ctx` reference. Closes #262
|
|
1514
|
-
|
|
1515
|
-
0.12.0 / 2012-02-02
|
|
1516
|
-
==================
|
|
1517
|
-
|
|
1518
|
-
* Added .coffee `--watch` support. Closes #242
|
|
1519
|
-
* Added support to `--require` files relative to the CWD. Closes #241
|
|
1520
|
-
* Added quick n dirty syntax highlighting. Closes #248
|
|
1521
|
-
* Changed: made HTML progress indicator smaller
|
|
1522
|
-
* Fixed xunit errors attribute [dhendo]
|
|
1523
|
-
|
|
1524
|
-
0.10.2 / 2012-01-21
|
|
1525
|
-
==================
|
|
1526
|
-
|
|
1527
|
-
* Fixed suite count in reporter stats. Closes #222
|
|
1528
|
-
* Fixed `done()` after timeout error reporting [Phil Sung]
|
|
1529
|
-
* Changed the 0-based errors to 1
|
|
1530
|
-
|
|
1531
|
-
0.10.1 / 2012-01-17
|
|
1532
|
-
==================
|
|
1533
|
-
|
|
1534
|
-
* Added support for node 0.7.x
|
|
1535
|
-
* Fixed absolute path support. Closes #215 [kompiro]
|
|
1536
|
-
* Fixed `--no-colors` option [Jussi Virtanen]
|
|
1537
|
-
* Fixed Arial CSS typo in the correct file
|
|
1538
|
-
|
|
1539
|
-
0.10.0 / 2012-01-13
|
|
1540
|
-
==================
|
|
1541
|
-
|
|
1542
|
-
* Added `-b, --bail` to exit on first exception [guillermo]
|
|
1543
|
-
* Added support for `-gc` / `--expose-gc` [TooTallNate]
|
|
1544
|
-
* Added `qunit`-inspired interface
|
|
1545
|
-
* Added MIT LICENSE. Closes #194
|
|
1546
|
-
* Added: `--watch` all .js in the CWD. Closes #139
|
|
1547
|
-
* Fixed `self.test` reference in runner. Closes #189
|
|
1548
|
-
* Fixed double reporting of uncaught exceptions after timeout. Closes #195
|
|
1549
|
-
|
|
1550
|
-
0.8.2 / 2012-01-05
|
|
1551
|
-
==================
|
|
1552
|
-
|
|
1553
|
-
* Added test-case context support. Closes #113
|
|
1554
|
-
* Fixed exit status. Closes #187
|
|
1555
|
-
* Update commander. Closes #190
|
|
1556
|
-
|
|
1557
|
-
0.8.1 / 2011-12-30
|
|
1558
|
-
==================
|
|
1054
|
+
# 2.2.4 / 2015-04-08
|
|
1055
|
+
|
|
1056
|
+
- Load mocha.opts in _mocha for now (close #1645)
|
|
1057
|
+
|
|
1058
|
+
# 2.2.3 / 2015-04-07
|
|
1059
|
+
|
|
1060
|
+
- fix(reporter/base): string diff - issue #1241
|
|
1061
|
+
- fix(reporter/base): string diff - issue #1241
|
|
1062
|
+
- fix(reporter/base): don't show diffs for errors without expectation
|
|
1063
|
+
- fix(reporter/base): don't assume error message is first line of stack
|
|
1064
|
+
- improve: dry up reporter/base test
|
|
1065
|
+
- fix(reporter/base): explicitly ignore showDiff #1614
|
|
1066
|
+
- Add iojs to travis build
|
|
1067
|
+
- Pass `--allow-natives-syntax` flag to node.
|
|
1068
|
+
- Support --harmony_classes flag for io.js
|
|
1069
|
+
- Fix 1556: Update utils.clean to handle newlines in func declarations
|
|
1070
|
+
- Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers
|
|
1071
|
+
- Fix 1585: make _mocha executable again
|
|
1072
|
+
- chore(package.json): add a8m as a contributor
|
|
1073
|
+
- Fixed broken link on html-cov reporter
|
|
1074
|
+
- support --es_staging flag
|
|
1075
|
+
- fix issue where menu overlaps content.
|
|
1076
|
+
- update contributors in package.json
|
|
1077
|
+
- Remove trailing whitespace from reporter output
|
|
1078
|
+
- Remove contributors list from readme
|
|
1079
|
+
- log third-party reporter errors
|
|
1080
|
+
- [Fix] Exclude not own properties when looping on options
|
|
1081
|
+
- fix: support node args in mocha.opts (close #1573)
|
|
1082
|
+
- fix(reporter/base): string diff - issue #1241
|
|
1083
|
+
|
|
1084
|
+
# 2.2.1 / 2015-03-09
|
|
1085
|
+
|
|
1086
|
+
- Fix passing of args intended for node/iojs.
|
|
1087
|
+
|
|
1088
|
+
# 2.2.0 / 2015-03-06
|
|
1089
|
+
|
|
1090
|
+
- Update mocha.js
|
|
1091
|
+
- Add --fgrep. Use grep for RegExp, fgrep for str
|
|
1092
|
+
- Ignore async global errors after spec resolution
|
|
1093
|
+
- Fixing errors that prevent mocha.js from loading in the browser - fixes #1558
|
|
1094
|
+
- fix(utils): issue #1558 + make
|
|
1095
|
+
- add ability to delay root suite; closes #362, closes #1124
|
|
1096
|
+
- fix insanity in http tests
|
|
1097
|
+
- update travis: add node 0.12, add gitter, remove slack
|
|
1098
|
+
- building
|
|
1099
|
+
- resolve #1548: ensure the environment's "node" executable is used
|
|
1100
|
+
- reporters/base: use supports-color to detect colorable term
|
|
1101
|
+
- travis: use docker containers
|
|
1102
|
+
- small fix: commander option for --expose-gc
|
|
1103
|
+
- Ignore asynchronous errors after global failure
|
|
1104
|
+
- Improve error output when a test fails with a non-error
|
|
1105
|
+
- updated travis badge, uses svg instead of img
|
|
1106
|
+
- Allow skip from test context for #332
|
|
1107
|
+
- [JSHINT] Unnecessary semicolon fixed in bin/_mocha
|
|
1108
|
+
- Added a reminder about the done() callback to test timeout error messages
|
|
1109
|
+
- fixes #1496, in Mocha.run(fn), check if fn exists before executing it, added tests too
|
|
1110
|
+
- Add Harmony Proxy flag for iojs
|
|
1111
|
+
- test(utils|ms|*): test existing units
|
|
1112
|
+
- add support for some iojs flags
|
|
1113
|
+
- fix(utils.stringify): issue #1229, diff viewer
|
|
1114
|
+
- Remove slack link
|
|
1115
|
+
- Prevent multiple 'grep=' querystring params in html reporter
|
|
1116
|
+
- Use grep as regexp (close #1381)
|
|
1117
|
+
- utils.stringify should handle objects without an Object prototype
|
|
1118
|
+
- in runnable test, comparing to undefined error's message rather than a literal
|
|
1119
|
+
- Fix test running output truncation on async STDIO
|
|
1120
|
+
- amended for deprecated customFds option in child_process
|
|
1121
|
+
|
|
1122
|
+
# 2.1.0 / 2014-12-23
|
|
1123
|
+
|
|
1124
|
+
- showDiff: don’t stringify strings
|
|
1125
|
+
- Clean up unused module dependencies.
|
|
1126
|
+
- Filter zero-length strings from mocha.opts
|
|
1127
|
+
- only write to stdout in reporters
|
|
1128
|
+
- Revert "only write to stdout in reporters"
|
|
1129
|
+
- Print colored output only to a tty
|
|
1130
|
+
- update summary in README.md
|
|
1131
|
+
- rename Readme.md/History.md to README.md/HISTORY.md because neurotic
|
|
1132
|
+
- add .mailmap to fix "git shortlog" or "git summary" output
|
|
1133
|
+
- fixes #1461: nyan-reporter now respects Base.useColors, fixed bug where Base.color would not return a string when str wasn't a string.
|
|
1134
|
+
- Use existing test URL builder in failed replay links
|
|
1135
|
+
- modify .travis.yml: use travis_retry; closes #1449
|
|
1136
|
+
- fix -t 0 behavior; closes #1446
|
|
1137
|
+
- fix tests (whoops)
|
|
1138
|
+
- improve diff behavior
|
|
1139
|
+
- Preserve pathname when linking to individual tests
|
|
1140
|
+
- Fix test
|
|
1141
|
+
- Tiny typo in comments fixed
|
|
1142
|
+
- after hooks now being called on failed tests when using bail, fixes #1093
|
|
1143
|
+
- fix throwing undefined/null now makes tests fail, fixes #1395
|
|
1144
|
+
- compiler extensions are added as watched extensions, removed non-standard extensions from watch regex, resolves #1221
|
|
1145
|
+
- prefix/namespace for suite titles in markdown reporter, fixes #554
|
|
1146
|
+
- fix more bad markdown in CONTRIBUTING.md
|
|
1147
|
+
- fix bad markdown in CONTRIBUTING.md
|
|
1148
|
+
- add setImmediate/clearImmediate to globals; closes #1435
|
|
1149
|
+
- Fix buffer diffs (closes #1132, closes #1433)
|
|
1150
|
+
- add a CONTRIBUTING.md. closes #882
|
|
1151
|
+
- fix intermittent build failures (maybe). closes #1407
|
|
1152
|
+
- add Slack notification to .travis.yml
|
|
1153
|
+
- Fix slack link
|
|
1154
|
+
- Add slack room to readme
|
|
1155
|
+
- Update maintainers
|
|
1156
|
+
- update maintainers and contributors
|
|
1157
|
+
- resolves #1393: kill children with more effort on SIGINT
|
|
1158
|
+
- xunit reporter support for optionally writing to a file
|
|
1159
|
+
- if a reporter has a .done method, call it before exiting
|
|
1160
|
+
- add support for reporter options
|
|
1161
|
+
- only write to stdout in reporters
|
|
1162
|
+
|
|
1163
|
+
# 2.0.0 / 2014-10-21
|
|
1164
|
+
|
|
1165
|
+
- remove: support for node 0.6.x, 0.4.x
|
|
1166
|
+
- fix: landing reporter with non ansi characters (#211)
|
|
1167
|
+
- fix: html reporter - preserve query params when navigating to suites/tests (#1358)
|
|
1168
|
+
- fix: json stream reporter add error message to failed test
|
|
1169
|
+
- fix: fixes for visionmedia -> mochajs
|
|
1170
|
+
- fix: use stdio, fixes node deprecation warnings (#1391)
|
|
1171
|
+
|
|
1172
|
+
# 1.21.5 / 2014-10-11
|
|
1173
|
+
|
|
1174
|
+
- fix: build for NodeJS v0.6.x
|
|
1175
|
+
- fix: do not attempt to highlight syntax when non-HTML reporter is used
|
|
1176
|
+
- update: escape-string-regexp to 1.0.2.
|
|
1177
|
+
- fix: botched indentation in canonicalize()
|
|
1178
|
+
- fix: .gitignore: ignore .patch and .diff files
|
|
1179
|
+
- fix: changed 'Catched' to 'Caught' in uncaught exception error handler messages
|
|
1180
|
+
- add: `pending` field for json reporter
|
|
1181
|
+
- fix: Runner.prototype.uncaught: don't double-end runnables that already have a state.
|
|
1182
|
+
- fix: --recursive, broken by f0facd2e
|
|
1183
|
+
- update: replaces escapeRegexp with the escape-string-regexp package.
|
|
1184
|
+
- update: commander to 2.3.0.
|
|
1185
|
+
- update: diff to 1.0.8.
|
|
1186
|
+
- fix: ability to disable syntax highlighting (#1329)
|
|
1187
|
+
- fix: added empty object to errorJSON() call to catch when no error is present
|
|
1188
|
+
- fix: never time out after calling enableTimeouts(false)
|
|
1189
|
+
- fix: timeout(0) will work at suite level (#1300)
|
|
1190
|
+
- Fix for --watch+only() issue (#888 )
|
|
1191
|
+
- fix: respect err.showDiff, add Base reporter test (#810)
|
|
1192
|
+
|
|
1193
|
+
# 1.22.1-3 / 2014-07-27
|
|
1194
|
+
|
|
1195
|
+
- fix: disabling timeouts with this.timeout(0) (#1301)
|
|
1196
|
+
|
|
1197
|
+
# 1.22.1-3 / 2014-07-27
|
|
1198
|
+
|
|
1199
|
+
- fix: local uis and reporters (#1288)
|
|
1200
|
+
- fix: building 1.21.0's changes in the browser (#1284)
|
|
1201
|
+
|
|
1202
|
+
# 1.21.0 / 2014-07-23
|
|
1203
|
+
|
|
1204
|
+
- add: --no-timeouts option (#1262, #1268)
|
|
1205
|
+
- add: --*- deprecation node flags (#1217)
|
|
1206
|
+
- add: --watch-extensions argument (#1247)
|
|
1207
|
+
- change: spec reporter is default (#1228)
|
|
1208
|
+
- fix: diff output showing incorrect +/- (#1182)
|
|
1209
|
+
- fix: diffs of circular structures (#1179)
|
|
1210
|
+
- fix: re-render the progress bar when progress has changed only (#1151)
|
|
1211
|
+
- fix support for environments with global and window (#1159)
|
|
1212
|
+
- fix: reverting to previously defined onerror handler (#1178)
|
|
1213
|
+
- fix: stringify non error objects passed to done() (#1270)
|
|
1214
|
+
- fix: using local ui, reporters (#1267)
|
|
1215
|
+
- fix: cleaning es6 arrows (#1176)
|
|
1216
|
+
- fix: don't include attrs in failure tag for xunit (#1244)
|
|
1217
|
+
- fix: fail tests that return a promise if promise is rejected w/o a reason (#1224)
|
|
1218
|
+
- fix: showing failed tests in doc reporter (#1117)
|
|
1219
|
+
- fix: dot reporter dots being off (#1204)
|
|
1220
|
+
- fix: catch empty throws (#1219)
|
|
1221
|
+
- fix: honoring timeout for sync operations (#1242)
|
|
1222
|
+
- update: growl to 1.8.0
|
|
1223
|
+
|
|
1224
|
+
# 1.20.1 / 2014-06-03
|
|
1225
|
+
|
|
1226
|
+
- update: should dev dependency to ~4.0.0 (#1231)
|
|
1227
|
+
|
|
1228
|
+
# 1.20.0 / 2014-05-28
|
|
1229
|
+
|
|
1230
|
+
- add: filenames to suite objects (#1222)
|
|
1231
|
+
|
|
1232
|
+
# 1.19.0 / 2014-05-17
|
|
1233
|
+
|
|
1234
|
+
- add: browser script option to package.json
|
|
1235
|
+
- add: export file in Mocha.Test objects (#1174)
|
|
1236
|
+
- add: add docs for wrapped node flags
|
|
1237
|
+
- fix: mocha.run() to return error status in browser (#1216)
|
|
1238
|
+
- fix: clean() to show failure details (#1205)
|
|
1239
|
+
- fix: regex that generates html for new keyword (#1201)
|
|
1240
|
+
- fix: sibling suites have inherited but separate contexts (#1164)
|
|
1241
|
+
|
|
1242
|
+
# 1.18.2 / 2014-03-18
|
|
1243
|
+
|
|
1244
|
+
- fix: html runner was prevented from using #mocha as the default root el (#1162)
|
|
1245
|
+
|
|
1246
|
+
# 1.18.1 / 2014-03-18
|
|
1247
|
+
|
|
1248
|
+
- fix: named before/after hooks in bdd, tdd, qunit interfaces (#1161)
|
|
1249
|
+
|
|
1250
|
+
# 1.18.0 / 2014-03-13
|
|
1251
|
+
|
|
1252
|
+
- add: promise support (#329)
|
|
1253
|
+
- add: named before/after hooks (#966)
|
|
1254
|
+
|
|
1255
|
+
# 1.17.1 / 2014-01-22
|
|
1256
|
+
|
|
1257
|
+
- fix: expected messages in should.js (should.js#168)
|
|
1258
|
+
- fix: expect errno global in node versions < v0.9.11 (#1111)
|
|
1259
|
+
- fix: unreliable checkGlobals optimization (#1110)
|
|
1260
|
+
|
|
1261
|
+
# 1.17.0 / 2014-01-09
|
|
1262
|
+
|
|
1263
|
+
- add: able to require globals (describe, it, etc.) through mocha (#1077)
|
|
1264
|
+
- fix: abort previous run on --watch change (#1100)
|
|
1265
|
+
- fix: reset context for each --watch triggered run (#1099)
|
|
1266
|
+
- fix: error when cli can't resolve path or pattern (#799)
|
|
1267
|
+
- fix: canonicalize objects before stringifying and diffing them (#1079)
|
|
1268
|
+
- fix: make CR call behave like carriage return for non tty (#1087)
|
|
1269
|
+
|
|
1270
|
+
# 1.16.2 / 2013-12-23
|
|
1271
|
+
|
|
1272
|
+
- fix: couple issues with ie 8 (#1082, #1081)
|
|
1273
|
+
- fix: issue running the xunit reporter in browsers (#1068)
|
|
1274
|
+
- fix: issue with firefox < 3.5 (#725)
|
|
1275
|
+
|
|
1276
|
+
# 1.16.1 / 2013-12-19
|
|
1277
|
+
|
|
1278
|
+
- fix: recompiled for missed changes from the last release
|
|
1279
|
+
|
|
1280
|
+
# 1.16.0 / 2013-12-19
|
|
1281
|
+
|
|
1282
|
+
- add: Runnable.globals(arr) for per test global whitelist (#1046)
|
|
1283
|
+
- add: mocha.throwError(err) for assertion libs to call (#985)
|
|
1284
|
+
- remove: --watch's spinner (#806)
|
|
1285
|
+
- fix: duplicate test output for multi-line specs in spec reporter (#1006)
|
|
1286
|
+
- fix: gracefully exit on SIGINT (#1063)
|
|
1287
|
+
- fix expose the specified ui only in the browser (#984)
|
|
1288
|
+
- fix: ensure process exit code is preserved when using --no-exit (#1059)
|
|
1289
|
+
- fix: return true from window.onerror handler (#868)
|
|
1290
|
+
- fix: xunit reporter to use process.stdout.write (#1068)
|
|
1291
|
+
- fix: utils.clean(str) indentation (#761)
|
|
1292
|
+
- fix: xunit reporter returning test duration a NaN (#1039)
|
|
1293
|
+
|
|
1294
|
+
# 1.15.1 / 2013-12-03
|
|
1295
|
+
|
|
1296
|
+
- fix: recompiled for missed changes from the last release
|
|
1297
|
+
|
|
1298
|
+
# 1.15.0 / 2013-12-02
|
|
1299
|
+
|
|
1300
|
+
- add: `--no-exit` to prevent `process.exit()` (#1018)
|
|
1301
|
+
- fix: using inline diffs (#1044)
|
|
1302
|
+
- fix: show pending test details in xunit reporter (#1051)
|
|
1303
|
+
- fix: faster global leak detection (#1024)
|
|
1304
|
+
- fix: yui compression (#1035)
|
|
1305
|
+
- fix: wrapping long lines in test results (#1030, #1031)
|
|
1306
|
+
- fix: handle errors in hooks (#1043)
|
|
1307
|
+
|
|
1308
|
+
# 1.14.0 / 2013-11-02
|
|
1309
|
+
|
|
1310
|
+
- add: unified diff (#862)
|
|
1311
|
+
- add: set MOCHA_COLORS env var to use colors (#965)
|
|
1312
|
+
- add: able to override tests links in html reporters (#776)
|
|
1313
|
+
- remove: teamcity reporter (#954)
|
|
1314
|
+
- update: commander dependency to 2.0.0 (#1010)
|
|
1315
|
+
- fix: mocha --ui will try to require the ui if not built in, as --reporter does (#1022)
|
|
1316
|
+
- fix: send cursor commands only if isatty (#184, #1003)
|
|
1317
|
+
- fix: include assertion message in base reporter (#993, #991)
|
|
1318
|
+
- fix: consistent return of it, it.only, and describe, describe.only (#840)
|
|
1319
|
+
|
|
1320
|
+
# 1.13.0 / 2013-09-15
|
|
1321
|
+
|
|
1322
|
+
- add: sort test files with --sort (#813)
|
|
1323
|
+
- update: diff dependency to 1.0.7
|
|
1324
|
+
- update: glob dependency to 3.2.3 (#927)
|
|
1325
|
+
- fix: diffs show whitespace differences (#976)
|
|
1326
|
+
- fix: improve global leaks (#783)
|
|
1327
|
+
- fix: firefox window.getInterface leak
|
|
1328
|
+
- fix: accessing iframe via window[iframeIndex] leak
|
|
1329
|
+
- fix: faster global leak checking
|
|
1330
|
+
- fix: reporter pending css selector (#970)
|
|
1331
|
+
|
|
1332
|
+
# 1.12.1 / 2013-08-29
|
|
1333
|
+
|
|
1334
|
+
- remove test.js from .gitignore
|
|
1335
|
+
- update included version of ms.js
|
|
1336
|
+
|
|
1337
|
+
# 1.12.0 / 2013-07-01
|
|
1338
|
+
|
|
1339
|
+
- add: prevent diffs for differing types. Closes #900
|
|
1340
|
+
- add `Mocha.process` hack for phantomjs
|
|
1341
|
+
- fix: use compilers with requires
|
|
1342
|
+
- fix regexps in diffs. Closes #890
|
|
1343
|
+
- fix xunit NaN on failure. Closes #894
|
|
1344
|
+
- fix: strip tab indentation in `clean` utility method
|
|
1345
|
+
- fix: textmate bundle installation
|
|
1346
|
+
|
|
1347
|
+
# 1.11.0 / 2013-06-12
|
|
1348
|
+
|
|
1349
|
+
- add --prof support
|
|
1350
|
+
- add --harmony support
|
|
1351
|
+
- add --harmony-generators support
|
|
1352
|
+
- add "Uncaught " prefix to uncaught exceptions
|
|
1353
|
+
- add web workers support
|
|
1354
|
+
- add `suite.skip()`
|
|
1355
|
+
- change to output # of pending / passing even on failures. Closes #872
|
|
1356
|
+
- fix: prevent hooks from being called if we are bailing
|
|
1357
|
+
- fix `this.timeout(0)`
|
|
1358
|
+
|
|
1359
|
+
# 1.10.0 / 2013-05-21
|
|
1360
|
+
|
|
1361
|
+
- add add better globbing support for windows via `glob` module
|
|
1362
|
+
- add support to pass through flags such as --debug-brk=1234. Closes #852
|
|
1363
|
+
- add test.only, test.skip to qunit interface
|
|
1364
|
+
- change to always use word-based diffs for now. Closes #733
|
|
1365
|
+
- change `mocha init` tests.html to index.html
|
|
1366
|
+
- fix `process` global leak in the browser
|
|
1367
|
+
- fix: use resolve() instead of join() for --require
|
|
1368
|
+
- fix: filterLeaks() condition to not consider indices in global object as leaks
|
|
1369
|
+
- fix: restrict mocha.css styling to #mocha id
|
|
1370
|
+
- fix: save timer references to avoid Sinon interfering in the browser build.
|
|
1371
|
+
|
|
1372
|
+
# 1.9.0 / 2013-04-03
|
|
1373
|
+
|
|
1374
|
+
- add improved setImmediate implementation
|
|
1375
|
+
- replace --ignore-leaks with --check-leaks
|
|
1376
|
+
- change default of ignoreLeaks to true. Closes #791
|
|
1377
|
+
- remove scrolling for HTML reporter
|
|
1378
|
+
- fix retina support
|
|
1379
|
+
- fix tmbundle, restrict to js scope
|
|
1380
|
+
|
|
1381
|
+
# 1.8.2 / 2013-03-11
|
|
1382
|
+
|
|
1383
|
+
- add `setImmediate` support for 0.10.x
|
|
1384
|
+
- fix mocha -w spinner on windows
|
|
1385
|
+
|
|
1386
|
+
# 1.8.1 / 2013-01-09
|
|
1387
|
+
|
|
1388
|
+
- fix .bail() arity check causing it to default to true
|
|
1389
|
+
|
|
1390
|
+
# 1.8.0 / 2013-01-08
|
|
1391
|
+
|
|
1392
|
+
- add Mocha() options bail support
|
|
1393
|
+
- add `Mocha#bail()` method
|
|
1394
|
+
- add instanceof check back for inheriting from Error
|
|
1395
|
+
- add component.json
|
|
1396
|
+
- add diff.js to browser build
|
|
1397
|
+
- update growl
|
|
1398
|
+
- fix TAP reporter failures comment :D
|
|
1399
|
+
|
|
1400
|
+
# 1.7.4 / 2012-12-06
|
|
1401
|
+
|
|
1402
|
+
- add total number of passes and failures to TAP
|
|
1403
|
+
- remove .bind() calls. re #680
|
|
1404
|
+
- fix indexOf. Closes #680
|
|
1405
|
+
|
|
1406
|
+
# 1.7.3 / 2012-11-30
|
|
1407
|
+
|
|
1408
|
+
- fix uncaught error support for the browser
|
|
1409
|
+
- revert uncaught "fix" which breaks node
|
|
1410
|
+
|
|
1411
|
+
# 1.7.2 / 2012-11-28
|
|
1412
|
+
|
|
1413
|
+
- fix uncaught errors to expose the original error message
|
|
1414
|
+
|
|
1415
|
+
# 1.7.0 / 2012-11-07
|
|
1416
|
+
|
|
1417
|
+
- add `--async-only` support to prevent false positives for missing `done()`
|
|
1418
|
+
- add sorting by filename in code coverage
|
|
1419
|
+
- add HTML 5 doctype to browser template.
|
|
1420
|
+
- add play button to html reporter to rerun a single test
|
|
1421
|
+
- add `this.timeout(ms)` as Suite#timeout(ms). Closes #599
|
|
1422
|
+
- update growl dependency to 1.6.x
|
|
1423
|
+
- fix encoding of test-case ?grep. Closes #637
|
|
1424
|
+
- fix unicode chars on windows
|
|
1425
|
+
- fix dom globals in Opera/IE. Closes #243
|
|
1426
|
+
- fix markdown reporter a tags
|
|
1427
|
+
- fix `this.timeout("5s")` support
|
|
1428
|
+
|
|
1429
|
+
# 1.6.0 / 2012-10-02
|
|
1430
|
+
|
|
1431
|
+
- add object diffs when `err.showDiff` is present
|
|
1432
|
+
- add hiding of empty suites when pass/failures are toggled
|
|
1433
|
+
- add faster `.length` checks to `checkGlobals()` before performing the filter
|
|
1434
|
+
|
|
1435
|
+
# 1.5.0 / 2012-09-21
|
|
1436
|
+
|
|
1437
|
+
- add `ms()` to `.slow()` and `.timeout()`
|
|
1438
|
+
- add `Mocha#checkLeaks()` to re-enable global leak checks
|
|
1439
|
+
- add `this.slow()` option [aheckmann]
|
|
1440
|
+
- add tab, CR, LF to error diffs for now
|
|
1441
|
+
- add faster `.checkGlobals()` solution [guille]
|
|
1442
|
+
- remove `fn.call()` from reduce util
|
|
1443
|
+
- remove `fn.call()` from filter util
|
|
1444
|
+
- fix forEach. Closes #582
|
|
1445
|
+
- fix relaying of signals [TooTallNate]
|
|
1446
|
+
- fix TAP reporter grep number
|
|
1447
|
+
|
|
1448
|
+
# 1.4.2 / 2012-09-01
|
|
1449
|
+
|
|
1450
|
+
- add support to multiple `Mocha#globals()` calls, and strings
|
|
1451
|
+
- add `mocha.reporter()` constructor support [jfirebaugh]
|
|
1452
|
+
- add `mocha.timeout()`
|
|
1453
|
+
- move query-string parser to utils.js
|
|
1454
|
+
- move highlight code to utils.js
|
|
1455
|
+
- fix third-party reporter support [exogen]
|
|
1456
|
+
- fix client-side API to match node-side [jfirebaugh]
|
|
1457
|
+
- fix mocha in iframe [joliss]
|
|
1458
|
+
|
|
1459
|
+
# 1.4.1 / 2012-08-28
|
|
1460
|
+
|
|
1461
|
+
- add missing `Markdown` export
|
|
1462
|
+
- fix `Mocha#grep()`, escape regexp strings
|
|
1463
|
+
- fix reference error when `devicePixelRatio` is not defined. Closes #549
|
|
1464
|
+
|
|
1465
|
+
# 1.4.0 / 2012-08-22
|
|
1466
|
+
|
|
1467
|
+
- add mkdir -p to `mocha init`. Closes #539
|
|
1468
|
+
- add `.only()`. Closes #524
|
|
1469
|
+
- add `.skip()`. Closes #524
|
|
1470
|
+
- change str.trim() to use utils.trim(). Closes #533
|
|
1471
|
+
- fix HTML progress indicator retina display
|
|
1472
|
+
- fix url-encoding of click-to-grep HTML functionality
|
|
1473
|
+
|
|
1474
|
+
# 1.3.2 / 2012-08-01
|
|
1475
|
+
|
|
1476
|
+
- fix exports double-execution regression. Closes #531
|
|
1477
|
+
|
|
1478
|
+
# 1.3.1 / 2012-08-01
|
|
1479
|
+
|
|
1480
|
+
- add passes/failures toggling to HTML reporter
|
|
1481
|
+
- add pending state to `xit()` and `xdescribe()` [Brian Moore]
|
|
1482
|
+
- add the @charset "UTF-8"; to fix #522 with FireFox. [Jonathan Creamer]
|
|
1483
|
+
- add border-bottom to #stats links
|
|
1484
|
+
- add check for runnable in `Runner#uncaught()`. Closes #494
|
|
1485
|
+
- add 0.4 and 0.6 back to travis.yml
|
|
1486
|
+
- add `-E, --growl-errors` to growl on failures only
|
|
1487
|
+
- add prefixes to debug() names. Closes #497
|
|
1488
|
+
- add `Mocha#invert()` to js api
|
|
1489
|
+
- change dot reporter to use sexy unicode dots
|
|
1490
|
+
- fix error when clicking pending test in HTML reporter
|
|
1491
|
+
- fix `make tm`
|
|
1492
|
+
|
|
1493
|
+
# 1.3.0 / 2012-07-05
|
|
1494
|
+
|
|
1495
|
+
- add window scrolling to `HTML` reporter
|
|
1496
|
+
- add v8 `--trace-*` option support
|
|
1497
|
+
- add support for custom reports via `--reporter MODULE`
|
|
1498
|
+
- add `--invert` switch to invert `--grep` matches
|
|
1499
|
+
- fix export of `Nyan` reporter. Closes #495
|
|
1500
|
+
- fix escaping of `HTML` suite titles. Closes #486
|
|
1501
|
+
- fix `done()` called multiple times with an error test
|
|
1502
|
+
- change `--grep` - regexp escape the input
|
|
1503
|
+
|
|
1504
|
+
# 1.2.2 / 2012-06-28
|
|
1505
|
+
|
|
1506
|
+
- Added 0.8.0 support
|
|
1507
|
+
|
|
1508
|
+
# 1.2.1 / 2012-06-25
|
|
1509
|
+
|
|
1510
|
+
- Added `this.test.error(err)` support to after each hooks. Closes #287
|
|
1511
|
+
- Added: export top-level suite on global mocha object (mocha.suite). Closes #448
|
|
1512
|
+
- Fixed `js` code block format error in markdown reporter
|
|
1513
|
+
- Fixed deprecation warning when using `path.existsSync`
|
|
1514
|
+
- Fixed --globals with wildcard
|
|
1515
|
+
- Fixed chars in nyan when his head moves back
|
|
1516
|
+
- Remove `--growl` from test/mocha.opts. Closes #289
|
|
1517
|
+
|
|
1518
|
+
# 1.2.0 / 2012-06-17
|
|
1519
|
+
|
|
1520
|
+
- Added `nyan` reporter [Atsuya Takagi]
|
|
1521
|
+
- Added `mocha init <path>` to copy client files
|
|
1522
|
+
- Added "specify" synonym for "it" [domenic]
|
|
1523
|
+
- Added global leak wildcard support [nathanbowser]
|
|
1524
|
+
- Fixed runner emitter leak. closes #432
|
|
1525
|
+
- Fixed omission of .js extension. Closes #454
|
|
1526
|
+
|
|
1527
|
+
# 1.1.0 / 2012-05-30
|
|
1528
|
+
|
|
1529
|
+
- Added: check each `mocha(1)` arg for directories to walk
|
|
1530
|
+
- Added `--recursive` [tricknotes]
|
|
1531
|
+
- Added `context` for BDD [hokaccha]
|
|
1532
|
+
- Added styling for new clickable titles
|
|
1533
|
+
- Added clickable suite titles to HTML reporter
|
|
1534
|
+
- Added warning when strings are thrown as errors
|
|
1535
|
+
- Changed: green arrows again in HTML reporter styling
|
|
1536
|
+
- Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
|
|
1537
|
+
- Fixed issue #325 - add better grep support to js api
|
|
1538
|
+
- Fixed: save timer references to avoid Sinon interfering.
|
|
1539
|
+
|
|
1540
|
+
# 1.0.3 / 2012-04-30
|
|
1541
|
+
|
|
1542
|
+
- Fixed string diff newlines
|
|
1543
|
+
- Fixed: removed mocha.css target. Closes #401
|
|
1544
|
+
|
|
1545
|
+
# 1.0.2 / 2012-04-25
|
|
1546
|
+
|
|
1547
|
+
- Added HTML reporter duration. Closes #47
|
|
1548
|
+
- Fixed: one postMessage event listener [exogen]
|
|
1549
|
+
- Fixed: allow --globals to be used multiple times. Closes #100 [brendannee]
|
|
1550
|
+
- Fixed #158: removes jquery include from browser tests
|
|
1551
|
+
- Fixed grep. Closes #372 [brendannee]
|
|
1552
|
+
- Fixed #166 - When grepping don't display the empty suites
|
|
1553
|
+
- Removed test/browser/style.css. Closes #385
|
|
1554
|
+
|
|
1555
|
+
# 1.0.1 / 2012-04-04
|
|
1556
|
+
|
|
1557
|
+
- Fixed `.timeout()` in hooks
|
|
1558
|
+
- Fixed: allow callback for `mocha.run()` in client version
|
|
1559
|
+
- Fixed browser hook error display. Closes #361
|
|
1560
|
+
|
|
1561
|
+
# 1.0.0 / 2012-03-24
|
|
1562
|
+
|
|
1563
|
+
- Added js API. Closes #265
|
|
1564
|
+
- Added: initial run of tests with `--watch`. Closes #345
|
|
1565
|
+
- Added: mark `location` as a global on the CS. Closes #311
|
|
1566
|
+
- Added `markdown` reporter (github flavour)
|
|
1567
|
+
- Added: scrolling menu to coverage.html. Closes #335
|
|
1568
|
+
- Added source line to html report for Safari [Tyson Tate]
|
|
1569
|
+
- Added "min" reporter, useful for `--watch` [Jakub Nešetřil]
|
|
1570
|
+
- Added support for arbitrary compilers via . Closes #338 [Ian Young]
|
|
1571
|
+
- Added Teamcity export to lib/reporters/index [Michael Riley]
|
|
1572
|
+
- Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
|
|
1573
|
+
- Fixed terrible FF / Opera stack traces
|
|
1574
|
+
|
|
1575
|
+
# 0.14.1 / 2012-03-06
|
|
1576
|
+
|
|
1577
|
+
- Added lib-cov to _.npmignore_
|
|
1578
|
+
- Added reporter to `mocha.run([reporter])` as argument
|
|
1579
|
+
- Added some margin-top to the HTML reporter
|
|
1580
|
+
- Removed jQuery dependency
|
|
1581
|
+
- Fixed `--watch`: purge require cache. Closes #266
|
|
1582
|
+
|
|
1583
|
+
# 0.14.0 / 2012-03-01
|
|
1584
|
+
|
|
1585
|
+
- Added string diff support for terminal reporters
|
|
1586
|
+
|
|
1587
|
+
# 0.13.0 / 2012-02-23
|
|
1588
|
+
|
|
1589
|
+
- Added preliminary test coverage support. Closes #5
|
|
1590
|
+
- Added `HTMLCov` reporter
|
|
1591
|
+
- Added `JSONCov` reporter [kunklejr]
|
|
1592
|
+
- Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs * Changed: make json reporter output pretty json
|
|
1593
|
+
- Fixed node-inspector support, swapped `--debug` for `debug` to match node. Closes #247
|
|
1594
|
+
|
|
1595
|
+
# 0.12.1 / 2012-02-14
|
|
1596
|
+
|
|
1597
|
+
- Added `npm docs mocha` support [TooTallNate]
|
|
1598
|
+
- Added a `Context` object used for hook and test-case this. Closes #253
|
|
1599
|
+
- Fixed `Suite#clone()` `.ctx` reference. Closes #262
|
|
1600
|
+
|
|
1601
|
+
# 0.12.0 / 2012-02-02
|
|
1602
|
+
|
|
1603
|
+
- Added .coffee `--watch` support. Closes #242
|
|
1604
|
+
- Added support to `--require` files relative to the CWD. Closes #241
|
|
1605
|
+
- Added quick n dirty syntax highlighting. Closes #248
|
|
1606
|
+
- Changed: made HTML progress indicator smaller
|
|
1607
|
+
- Fixed xunit errors attribute [dhendo]
|
|
1608
|
+
|
|
1609
|
+
# 0.10.2 / 2012-01-21
|
|
1610
|
+
|
|
1611
|
+
- Fixed suite count in reporter stats. Closes #222
|
|
1612
|
+
- Fixed `done()` after timeout error reporting [Phil Sung]
|
|
1613
|
+
- Changed the 0-based errors to 1
|
|
1614
|
+
|
|
1615
|
+
# 0.10.1 / 2012-01-17
|
|
1616
|
+
|
|
1617
|
+
- Added support for node 0.7.x
|
|
1618
|
+
- Fixed absolute path support. Closes #215 [kompiro]
|
|
1619
|
+
- Fixed `--no-colors` option [Jussi Virtanen]
|
|
1620
|
+
- Fixed Arial CSS typo in the correct file
|
|
1621
|
+
|
|
1622
|
+
# 0.10.0 / 2012-01-13
|
|
1623
|
+
|
|
1624
|
+
- Added `-b, --bail` to exit on first exception [guillermo]
|
|
1625
|
+
- Added support for `-gc` / `--expose-gc` [TooTallNate]
|
|
1626
|
+
- Added `qunit`-inspired interface
|
|
1627
|
+
- Added MIT LICENSE. Closes #194
|
|
1628
|
+
- Added: `--watch` all .js in the CWD. Closes #139
|
|
1629
|
+
- Fixed `self.test` reference in runner. Closes #189
|
|
1630
|
+
- Fixed double reporting of uncaught exceptions after timeout. Closes #195
|
|
1631
|
+
|
|
1632
|
+
# 0.8.2 / 2012-01-05
|
|
1633
|
+
|
|
1634
|
+
- Added test-case context support. Closes #113
|
|
1635
|
+
- Fixed exit status. Closes #187
|
|
1636
|
+
- Update commander. Closes #190
|
|
1637
|
+
|
|
1638
|
+
# 0.8.1 / 2011-12-30
|
|
1639
|
+
|
|
1640
|
+
- Fixed reporting of uncaught exceptions. Closes #183
|
|
1641
|
+
- Fixed error message defaulting [indutny]
|
|
1642
|
+
- Changed mocha(1) from bash to node for windows [Nathan Rajlich]
|
|
1643
|
+
|
|
1644
|
+
# 0.8.0 / 2011-12-28
|
|
1645
|
+
|
|
1646
|
+
- Added `XUnit` reporter [FeeFighters/visionmedia]
|
|
1647
|
+
- Added `say(1)` notification support [Maciej Małecki]
|
|
1648
|
+
- Changed: fail when done() is invoked with a non-Error. Closes #171
|
|
1649
|
+
- Fixed `err.stack`, defaulting to message. Closes #180
|
|
1650
|
+
- Fixed: `make tm` mkdir -p the dest. Closes #137
|
|
1651
|
+
- Fixed mocha(1) --help bin name
|
|
1652
|
+
- Fixed `-d` for `--debug` support
|
|
1559
1653
|
|
|
1560
|
-
|
|
1561
|
-
* Fixed error message defaulting [indutny]
|
|
1562
|
-
* Changed mocha(1) from bash to node for windows [Nathan Rajlich]
|
|
1563
|
-
|
|
1564
|
-
0.8.0 / 2011-12-28
|
|
1565
|
-
==================
|
|
1566
|
-
|
|
1567
|
-
* Added `XUnit` reporter [FeeFighters/visionmedia]
|
|
1568
|
-
* Added `say(1)` notification support [Maciej Małecki]
|
|
1569
|
-
* Changed: fail when done() is invoked with a non-Error. Closes #171
|
|
1570
|
-
* Fixed `err.stack`, defaulting to message. Closes #180
|
|
1571
|
-
* Fixed: `make tm` mkdir -p the dest. Closes #137
|
|
1572
|
-
* Fixed mocha(1) --help bin name
|
|
1573
|
-
* Fixed `-d` for `--debug` support
|
|
1574
|
-
|
|
1575
|
-
0.7.1 / 2011-12-22
|
|
1576
|
-
==================
|
|
1654
|
+
# 0.7.1 / 2011-12-22
|
|
1577
1655
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1656
|
+
- Removed `mocha-debug(1)`, use `mocha --debug`
|
|
1657
|
+
- Fixed CWD relative requires
|
|
1658
|
+
- Fixed growl issue on windows [Raynos]
|
|
1659
|
+
- Fixed: platform specific line endings [TooTallNate]
|
|
1660
|
+
- Fixed: escape strings in HTML reporter. Closes #164
|
|
1583
1661
|
|
|
1584
|
-
0.7.0 / 2011-12-18
|
|
1585
|
-
==================
|
|
1662
|
+
# 0.7.0 / 2011-12-18
|
|
1586
1663
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1664
|
+
- Added support for IE{7,8} [guille]
|
|
1665
|
+
- Changed: better browser nextTick implementation [guille]
|
|
1589
1666
|
|
|
1590
|
-
0.6.0 / 2011-12-18
|
|
1591
|
-
==================
|
|
1667
|
+
# 0.6.0 / 2011-12-18
|
|
1592
1668
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1669
|
+
- Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
|
|
1670
|
+
- Added "view source" on hover for HTML reporter to make it obvious
|
|
1671
|
+
- Changed: replace custom growl with growl lib
|
|
1672
|
+
- Fixed duplicate reporting for HTML reporter. Closes #154
|
|
1673
|
+
- Fixed silent hook errors in the HTML reporter. Closes #150
|
|
1598
1674
|
|
|
1599
|
-
0.5.0 / 2011-12-14
|
|
1600
|
-
==================
|
|
1675
|
+
# 0.5.0 / 2011-12-14
|
|
1601
1676
|
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1677
|
+
- Added: push node_modules directory onto module.paths for relative require Closes #93
|
|
1678
|
+
- Added teamcity reporter [blindsey]
|
|
1679
|
+
- Fixed: recover from uncaught exceptions for tests. Closes #94
|
|
1680
|
+
- Fixed: only emit "test end" for uncaught within test, not hook
|
|
1606
1681
|
|
|
1607
|
-
0.4.0 / 2011-12-14
|
|
1608
|
-
==================
|
|
1682
|
+
# 0.4.0 / 2011-12-14
|
|
1609
1683
|
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1684
|
+
- Added support for test-specific timeouts via `this.timeout(0)`. Closes #134
|
|
1685
|
+
- Added guillermo's client-side EventEmitter. Closes #132
|
|
1686
|
+
- Added progress indicator to the HTML reporter
|
|
1687
|
+
- Fixed slow browser tests. Closes #135
|
|
1688
|
+
- Fixed "suite" color for light terminals
|
|
1689
|
+
- Fixed `require()` leak spotted by [guillermo]
|
|
1616
1690
|
|
|
1617
|
-
0.3.6 / 2011-12-09
|
|
1618
|
-
==================
|
|
1691
|
+
# 0.3.6 / 2011-12-09
|
|
1619
1692
|
|
|
1620
|
-
|
|
1693
|
+
- Removed suite merging (for now)
|
|
1621
1694
|
|
|
1622
|
-
0.3.5 / 2011-12-08
|
|
1623
|
-
==================
|
|
1695
|
+
# 0.3.5 / 2011-12-08
|
|
1624
1696
|
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1697
|
+
- Added support for `window.onerror` [guillermo]
|
|
1698
|
+
- Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo]
|
|
1699
|
+
- Added `mocha.css` to PHONY list.
|
|
1700
|
+
- Added `mocha.js` to PHONY list.
|
|
1629
1701
|
|
|
1630
|
-
0.3.4 / 2011-12-08
|
|
1631
|
-
==================
|
|
1702
|
+
# 0.3.4 / 2011-12-08
|
|
1632
1703
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1704
|
+
- Added: allow `done()` to be called with non-Error
|
|
1705
|
+
- Added: return Runner from `mocha.run()`. Closes #126
|
|
1706
|
+
- Fixed: run afterEach even on failures. Closes #125
|
|
1707
|
+
- Fixed clobbering of current runnable. Closes #121
|
|
1637
1708
|
|
|
1638
|
-
0.3.3 / 2011-12-08
|
|
1639
|
-
==================
|
|
1709
|
+
# 0.3.3 / 2011-12-08
|
|
1640
1710
|
|
|
1641
|
-
|
|
1642
|
-
|
|
1711
|
+
- Fixed hook timeouts. Closes #120
|
|
1712
|
+
- Fixed uncaught exceptions in hooks
|
|
1643
1713
|
|
|
1644
|
-
0.3.2 / 2011-12-05
|
|
1645
|
-
==================
|
|
1714
|
+
# 0.3.2 / 2011-12-05
|
|
1646
1715
|
|
|
1647
|
-
|
|
1716
|
+
- Fixed weird reporting when `err.message` is not present
|
|
1648
1717
|
|
|
1649
|
-
0.3.1 / 2011-12-04
|
|
1650
|
-
==================
|
|
1718
|
+
# 0.3.1 / 2011-12-04
|
|
1651
1719
|
|
|
1652
|
-
|
|
1653
|
-
|
|
1720
|
+
- Fixed hook event emitter leak. Closes #117
|
|
1721
|
+
- Fixed: export `Spec` constructor. Closes #116
|
|
1654
1722
|
|
|
1655
|
-
0.3.0 / 2011-12-04
|
|
1656
|
-
==================
|
|
1723
|
+
# 0.3.0 / 2011-12-04
|
|
1657
1724
|
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1725
|
+
- Added `-w, --watch`. Closes #72
|
|
1726
|
+
- Added `--ignore-leaks` to ignore global leak checking
|
|
1727
|
+
- Added browser `?grep=pattern` support
|
|
1728
|
+
- Added `--globals <names>` to specify accepted globals. Closes #99
|
|
1729
|
+
- Fixed `mocha-debug(1)` on some systems. Closes #232
|
|
1730
|
+
- Fixed growl total, use `runner.total`
|
|
1664
1731
|
|
|
1665
|
-
0.2.0 / 2011-11-30
|
|
1666
|
-
==================
|
|
1732
|
+
# 0.2.0 / 2011-11-30
|
|
1667
1733
|
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1734
|
+
- Added `--globals <names>` to specify accepted globals. Closes #99
|
|
1735
|
+
- Fixed funky highlighting of messages. Closes #97
|
|
1736
|
+
- Fixed `mocha-debug(1)`. Closes #232
|
|
1737
|
+
- Fixed growl total, use runner.total
|
|
1672
1738
|
|
|
1673
|
-
0.1.0 / 2011-11-29
|
|
1674
|
-
==================
|
|
1739
|
+
# 0.1.0 / 2011-11-29
|
|
1675
1740
|
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1741
|
+
- Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
|
|
1742
|
+
- Added growl icons. Closes #84
|
|
1743
|
+
- Fixed coffee-script support
|
|
1679
1744
|
|
|
1680
|
-
0.0.8 / 2011-11-25
|
|
1681
|
-
==================
|
|
1745
|
+
# 0.0.8 / 2011-11-25
|
|
1682
1746
|
|
|
1683
|
-
|
|
1747
|
+
- Fixed: use `Runner#total` for accurate reporting
|
|
1684
1748
|
|
|
1685
|
-
0.0.7 / 2011-11-25
|
|
1686
|
-
==================
|
|
1749
|
+
# 0.0.7 / 2011-11-25
|
|
1687
1750
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1751
|
+
- Added `Hook`
|
|
1752
|
+
- Added `Runnable`
|
|
1753
|
+
- Changed: `Test` is `Runnable`
|
|
1754
|
+
- Fixed global leak reporting in hooks
|
|
1755
|
+
- Fixed: > 2 calls to done() only report the error once
|
|
1756
|
+
- Fixed: clear timer on failure. Closes #80
|
|
1694
1757
|
|
|
1695
|
-
0.0.6 / 2011-11-25
|
|
1696
|
-
==================
|
|
1758
|
+
# 0.0.6 / 2011-11-25
|
|
1697
1759
|
|
|
1698
|
-
|
|
1760
|
+
- Fixed return on immediate async error. Closes #80
|
|
1699
1761
|
|
|
1700
|
-
0.0.5 / 2011-11-24
|
|
1701
|
-
==================
|
|
1762
|
+
# 0.0.5 / 2011-11-24
|
|
1702
1763
|
|
|
1703
|
-
|
|
1764
|
+
- Fixed: make mocha.opts whitespace less picky [kkaefer]
|
|
1704
1765
|
|
|
1705
|
-
0.0.4 / 2011-11-24
|
|
1706
|
-
==================
|
|
1766
|
+
# 0.0.4 / 2011-11-24
|
|
1707
1767
|
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1768
|
+
- Added `--interfaces`
|
|
1769
|
+
- Added `--reporters`
|
|
1770
|
+
- Added `-c, --colors`. Closes #69
|
|
1771
|
+
- Fixed hook timeouts
|
|
1712
1772
|
|
|
1713
|
-
0.0.3 / 2011-11-23
|
|
1714
|
-
==================
|
|
1773
|
+
# 0.0.3 / 2011-11-23
|
|
1715
1774
|
|
|
1716
|
-
|
|
1717
|
-
|
|
1775
|
+
- Added `-C, --no-colors` to explicitly disable
|
|
1776
|
+
- Added coffee-script support
|
|
1718
1777
|
|
|
1719
|
-
0.0.2 / 2011-11-22
|
|
1720
|
-
==================
|
|
1778
|
+
# 0.0.2 / 2011-11-22
|
|
1721
1779
|
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1780
|
+
- Fixed global leak detection due to Safari bind() change
|
|
1781
|
+
- Fixed: escape html entities in Doc reporter
|
|
1782
|
+
- Fixed: escape html entities in HTML reporter
|
|
1783
|
+
- Fixed pending test support for HTML reporter. Closes #66
|
|
1726
1784
|
|
|
1727
|
-
0.0.1 / 2011-11-22
|
|
1728
|
-
==================
|
|
1785
|
+
# 0.0.1 / 2011-11-22
|
|
1729
1786
|
|
|
1730
|
-
|
|
1731
|
-
|
|
1787
|
+
- Added `--timeout` second shorthand support, ex `--timeout 3s`.
|
|
1788
|
+
- Fixed "test end" event for uncaughtExceptions. Closes #61
|
|
1732
1789
|
|
|
1733
|
-
0.0.1-alpha6 / 2011-11-19
|
|
1734
|
-
==================
|
|
1790
|
+
# 0.0.1-alpha6 / 2011-11-19
|
|
1735
1791
|
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1792
|
+
- Added travis CI support (needs enabling when public)
|
|
1793
|
+
- Added preliminary browser support
|
|
1794
|
+
- Added `make mocha.css` target. Closes #45
|
|
1795
|
+
- Added stack trace to TAP errors. Closes #52
|
|
1796
|
+
- Renamed tearDown to teardown. Closes #49
|
|
1797
|
+
- Fixed: cascading hooksc. Closes #30
|
|
1798
|
+
- Fixed some colors for non-tty
|
|
1799
|
+
- Fixed errors thrown in sync test-cases due to nextTick
|
|
1800
|
+
- Fixed Base.window.width... again give precedence to 0.6.x
|
|
1745
1801
|
|
|
1746
|
-
0.0.1-alpha5 / 2011-11-17
|
|
1747
|
-
==================
|
|
1802
|
+
# 0.0.1-alpha5 / 2011-11-17
|
|
1748
1803
|
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1804
|
+
- Added `doc` reporter. Closes #33
|
|
1805
|
+
- Added suite merging. Closes #28
|
|
1806
|
+
- Added TextMate bundle and `make tm`. Closes #20
|
|
1752
1807
|
|
|
1753
|
-
0.0.1-alpha4 / 2011-11-15
|
|
1754
|
-
==================
|
|
1808
|
+
# 0.0.1-alpha4 / 2011-11-15
|
|
1755
1809
|
|
|
1756
|
-
|
|
1810
|
+
- Fixed getWindowSize() for 0.4.x
|
|
1757
1811
|
|
|
1758
|
-
0.0.1-alpha3 / 2011-11-15
|
|
1759
|
-
==================
|
|
1812
|
+
# 0.0.1-alpha3 / 2011-11-15
|
|
1760
1813
|
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1814
|
+
- Added `-s, --slow <ms>` to specify "slow" test threshold
|
|
1815
|
+
- Added `mocha-debug(1)`
|
|
1816
|
+
- Added `mocha.opts` support. Closes #31
|
|
1817
|
+
- Added: default [files] to _test/*.js_
|
|
1818
|
+
- Added protection against multiple calls to `done()`. Closes #35
|
|
1819
|
+
- Changed: bright yellow for slow Dot reporter tests
|
|
1767
1820
|
|
|
1768
|
-
0.0.1-
|
|
1769
|
-
==================
|
|
1821
|
+
# 0.0.1-alpha2 / 2011-11-08
|
|
1770
1822
|
|
|
1771
|
-
|
|
1823
|
+
- Missed this one :)
|
|
1772
1824
|
|
|
1773
|
-
0.0.1-alpha1 / 2011-11-08
|
|
1774
|
-
==================
|
|
1825
|
+
# 0.0.1-alpha1 / 2011-11-08
|
|
1775
1826
|
|
|
1776
|
-
|
|
1827
|
+
- Initial release
|