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