mocha-compat 3.5.5 → 3.6.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.
Files changed (5) hide show
  1. package/index.js +3 -0
  2. package/lib/mocha.js +15 -15
  3. package/mocha.js +2522 -2111
  4. package/package.json +21 -22
  5. package/CHANGELOG.md +0 -1711
package/CHANGELOG.md DELETED
@@ -1,1711 +0,0 @@
1
- # 3.5.3 / 2017-09-11
2
-
3
- ## :bug: Fixes
4
-
5
- - [#3003]: Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems])
6
-
7
- [#3003]: https://github.com/mochajs/mocha/pull/3003
8
-
9
- # 3.5.2 / 2017-09-10
10
-
11
- ## :bug: Fixes
12
-
13
- - [#3001]: Fix AMD-related failures first appearing in v3.5.1 ([@boneskull])
14
-
15
- [#3001]: https://github.com/mochajs/mocha/pull/3001
16
-
17
- # 3.5.1 / 2017-09-09
18
-
19
- ## :newspaper: News
20
-
21
- - :mega: Mocha is now sponsoring [PDXNode](http://pdxnode.org)! If you're in the [Portland](https://wikipedia.org/wiki/Portland,_Oregon) area, come check out the monthly talks and hack nights!
22
-
23
- ## :bug: Fixes
24
-
25
- - [#2997]: Fix missing `xit` export for "require" interface ([@solodynamo])
26
- - [#2957]: Fix unicode character handling in XUnit reporter failures ([@jkrems])
27
-
28
- ## :nut_and_bolt: Other
29
-
30
- - [#2986]: Add issue and PR templates ([@kungapal])
31
- - [#2918]: Drop bash dependency for glob-related tests ([@ScottFreeCode])
32
- - [#2922]: Improve `--compilers` coverage ([@ScottFreeCode])
33
- - [#2981]: Fix tpyos and spelling errors ([@jsoref])
34
-
35
- [#2997]: https://github.com/mochajs/mocha/pull/2997
36
- [#2957]: https://github.com/mochajs/mocha/pull/2957
37
- [#2918]: https://github.com/mochajs/mocha/pull/2918
38
- [#2986]: https://github.com/mochajs/mocha/pull/2986
39
- [#2922]: https://github.com/mochajs/mocha/pull/2922
40
- [#2981]: https://github.com/mochajs/mocha/pull/2981
41
- [@solodynamo]: https://github.com/solodynamo
42
- [@jkrems]: https://github.com/jkrems
43
- [@jsoref]: https://github.com/jsoref
44
-
45
- # 3.5.0 / 2017-07-31
46
-
47
- ## :newspaper: News
48
-
49
- - Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [@kungapal]!).
50
- - Old issues and PRs are now being marked "stale" by [Probot's "Stale" plugin](https://github.com/probot/stale). If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.
51
- - **WARNING**: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!
52
-
53
- ## :lock: Security Fixes
54
-
55
- - [#2860]: Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([@boneskull])
56
-
57
- ## :tada: Enhancements
58
-
59
- - [#2696]: Add `--forbid-only` and `--forbid-pending` flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([@charlierudolph])
60
- - [#2813]: Support Node.js 8's `--napi-modules` flag ([@jupp0r])
61
-
62
- ## :nut_and_bolt: Other
63
-
64
- - Various CI-and-test-related fixes and improvements ([@boneskull], [@dasilvacontin], [@PopradiArpad], [@Munter], [@ScottFreeCode])
65
- - "Officially" support Node.js 8 ([@elergy])
66
-
67
- [#2860]: https://github.com/mochajs/mocha/pulls/2860
68
- [#2696]: https://github.com/mochajs/mocha/pulls/2696
69
- [#2813]: https://github.com/mochajs/mocha/pulls/2813
70
- [@charlierudolph]: https://github.com/charlierudolph
71
- [@PopradiArpad]: https://github.com/PopradiArpad
72
- [@kungapal]: https://github.com/kungapal
73
- [@elergy]: https://github.com/elergy
74
- [@jupp0r]: https://github.com/jupp0r
75
-
76
- # 3.4.2 / 2017-05-24
77
-
78
- ## :bug: Fixes
79
-
80
- - [#2802]: Remove call to deprecated `os.tmpDir` ([@makepanic])
81
- - [#2820]: Eagerly set `process.exitCode` ([@chrisleck])
82
-
83
- ## :nut_and_bolt: Other
84
-
85
- - [#2778]: Move linting into an npm script ([@Munter])
86
-
87
- [@chrisleck]: https://github.com/chrisleck
88
- [@makepanic]: https://github.com/makepanic
89
- [@Munter]: https://github.com/Munter
90
-
91
- [#2778]: https://github.com/mochajs/mocha/pulls/2778
92
- [#2802]: https://github.com/mochajs/mocha/issues/2802
93
- [#2820]: https://github.com/mochajs/mocha/pull/2820
94
-
95
- # 3.4.1 / 2017-05-14
96
-
97
- Fixed a publishing mishap with git's autocrlf settings.
98
-
99
- # 3.4.0 / 2017-05-14
100
-
101
- Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.
102
-
103
- This week's highlights:
104
-
105
- - `allowUncaught` added to commandline as `--allow-uncaught` (and bugfixed)
106
- - warning-related Node flags
107
-
108
- ## :tada: Enhancements
109
-
110
- - [#2793], [#2697]: add --allowUncaught to Node.js ([@lrowe])
111
- - [#2733]: Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe])
112
-
113
- ## :bug: Fixes
114
-
115
- - [#2793], [#2697]: fix broken allowUncaught ([@lrowe])
116
-
117
- ## :nut_and_bolt: Other
118
-
119
- - [#2778]: Add license report and scan status ([@xizhao])
120
- - [#2794]: no special case for macOS running Karma locally ([@boneskull])
121
- - [#2795]: reverts use of semistandard directly ([#2648]) ([@boneskull])
122
-
123
- [@lrowe]: https://github.com/lrowe
124
- [@sonicdoe]: https://github.com/sonicdoe
125
- [@xizhao]: https://github.com/xizhao
126
- [@boneskull]: https://github.com/boneskull
127
-
128
- [#2795]: https://github.com/mochajs/mocha/pull/2795
129
- [#2733]: https://github.com/mochajs/mocha/pull/2733
130
- [#2793]: https://github.com/mochajs/mocha/pull/2793
131
- [#2697]: https://github.com/mochajs/mocha/pull/2697
132
- [#2778]: https://github.com/mochajs/mocha/pull/2778
133
- [#2794]: https://github.com/mochajs/mocha/pull/2794
134
-
135
- # 3.3.0 / 2017-04-24
136
-
137
- Thanks to all our contributors, maintainers, sponsors, and users! ❤️
138
-
139
- As highlights:
140
-
141
- - We've got coverage now!
142
- - Testing is looking less flaky \o/.
143
- - No more nitpicking about "mocha.js" build on PRs.
144
-
145
- ## :tada: Enhancements
146
-
147
- - [#2659]: Adds support for loading reporter from an absolute or relative path ([@sul4bh])
148
- - [#2769]: Support `--inspect-brk` on command-line ([@igwejk])
149
-
150
- ## :bug: Fixes
151
-
152
- - [#2662]: Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan])
153
-
154
- ## :mag: Coverage
155
-
156
- - [#2672]: Add coverage for node tests ([@c089], [@Munter])
157
- - [#2680]: Increase tests coverage for base reporter ([@epallerols])
158
- - [#2690]: Increase tests coverage for doc reporter ([@craigtaub])
159
- - [#2701]: Increase tests coverage for landing, min, tap and list reporters ([@craigtaub])
160
- - [#2691]: Increase tests coverage for spec + dot reporters ([@craigtaub])
161
- - [#2698]: Increase tests coverage for xunit reporter ([@craigtaub])
162
- - [#2699]: Increase tests coverage for json-stream, markdown and progress reporters ([@craigtaub])
163
- - [#2703]: Cover .some() function in utils.js with tests ([@seppevs])
164
- - [#2773]: Add tests for loading reporters w/ relative/absolute paths ([@sul4bh])
165
-
166
- ## :nut_and_bolt: Other
167
-
168
- - Remove bin/.eslintrc; ensure execs are linted ([@boneskull])
169
- - [#2542]: Expand CONTRIBUTING.md ([@boneskull])
170
- - [#2660]: Double timeouts on integration tests ([@Munter])
171
- - [#2653]: Update copyright year ([@Scottkao85], [@Munter])
172
- - [#2621]: Update dependencies to enable Greenkeeper ([@boneskull], [@greenkeeper])
173
- - [#2625]: Use trusty container in travis-ci; use "artifacts" addon ([@boneskull])
174
- - [#2670]: doc(CONTRIBUTING): fix link to org members ([@coderbyheart])
175
- - Add Mocha propaganda to README.md ([@boneskull])
176
- - [#2470]: Avoid test flake in "delay" test ([@boneskull])
177
- - [#2675]: Limit browser concurrency on sauce ([@boneskull])
178
- - [#2669]: Use temporary test-only build of mocha.js for browsers tests ([@Munter])
179
- - Fix "projects" link in README.md ([@boneskull])
180
- - [#2678]: Chore(Saucelabs): test on IE9, IE10 and IE11 ([@coderbyheart])
181
- - [#2648]: Use `semistandard` directly ([@kt3k])
182
- - [#2727]: Make the build reproducible ([@lamby])
183
-
184
- [@boneskull]: https://github.com/boneskull
185
- [@c089]: https://github.com/c089
186
- [@coderbyheart]: https://github.com/coderbyheart
187
- [@craigtaub]: https://github.com/craigtaub
188
- [@epallerols]: https://github.com/epallerols
189
- [@greenkeeper]: https://github.com/greenkeeper
190
- [@igwejk]: https://github.com/igwejk
191
- [@kt3k]: https://github.com/kt3k
192
- [@lamby]: https://github.com/lamby
193
- [@Munter]: https://github.com/Munter
194
- [@rotemdan]: https://github.com/rotemdan
195
- [@seppevs]: https://github.com/seppevs
196
- [@sul4bh]: https://github.com/sul4bh
197
-
198
- [#2470]: https://github.com/mochajs/mocha/pull/2470
199
- [#2542]: https://github.com/mochajs/mocha/issues/2542
200
- [#2621]: https://github.com/mochajs/mocha/pull/2621
201
- [#2625]: https://github.com/mochajs/mocha/pull/2625
202
- [#2648]: https://github.com/mochajs/mocha/pull/2648
203
- [#2653]: https://github.com/mochajs/mocha/pull/2653
204
- [#2659]: https://github.com/mochajs/mocha/pull/2659
205
- [#2660]: https://github.com/mochajs/mocha/pull/2660
206
- [#2662]: https://github.com/mochajs/mocha/pull/2662
207
- [#2669]: https://github.com/mochajs/mocha/pull/2669
208
- [#2670]: https://github.com/mochajs/mocha/pull/2670
209
- [#2672]: https://github.com/mochajs/mocha/pull/2672
210
- [#2675]: https://github.com/mochajs/mocha/pull/2675
211
- [#2678]: https://github.com/mochajs/mocha/pull/2678
212
- [#2680]: https://github.com/mochajs/mocha/pull/2680
213
- [#2690]: https://github.com/mochajs/mocha/pull/2690
214
- [#2691]: https://github.com/mochajs/mocha/pull/2691
215
- [#2698]: https://github.com/mochajs/mocha/pull/2698
216
- [#2699]: https://github.com/mochajs/mocha/pull/2699
217
- [#2701]: https://github.com/mochajs/mocha/pull/2701
218
- [#2703]: https://github.com/mochajs/mocha/pull/2703
219
- [#2727]: https://github.com/mochajs/mocha/pull/2727
220
- [#2769]: https://github.com/mochajs/mocha/pull/2769
221
- [#2773]: https://github.com/mochajs/mocha/pull/2773
222
-
223
- # 3.2.0 / 2016-11-24
224
-
225
- ## :newspaper: News
226
-
227
- ### Mocha is now a JS Foundation Project!
228
-
229
- Mocha is proud to have joined the [JS Foundation](https://js.foundation). For more information, [read the announcement](https://js.foundation/announcements/2016/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/).
230
-
231
- ### Contributor License Agreement
232
-
233
- Under the foundation, all contributors to Mocha must sign the [JS Foundation CLA](https://js.foundation/CLA/) before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.
234
-
235
- Mocha remains licensed under the [MIT license](https://github.com/mochajs/mocha/blob/master/LICENSE).
236
-
237
- ## :bug: Bug Fix
238
-
239
- - [#2535]: Fix crash when `--watch` encounters broken symlinks ([@villesau])
240
- - [#2593]: Fix (old) regression; incorrect symbol shown in `list` reporter ([@Aldaviva])
241
- - [#2584]: Fix potential error when running XUnit reporter ([@vobujs])
242
-
243
- ## :tada: Enhancement
244
-
245
- - [#2294]: Improve timeout error messaging ([@jeversmann], [@boneskull])
246
- - [#2520]: Add info about `--inspect` flag to CLI help ([@ughitsaaron])
247
-
248
- ## :nut_and_bolt: Other
249
-
250
- - [#2570]: Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@boneskull])
251
- - Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([@boneskull], [@ScottFreeCode], [@dasilvacontin])
252
-
253
- [#2294]: https://github.com/mochajs/mocha/issues/2294
254
- [#2535]: https://github.com/mochajs/mocha/issues/2535
255
- [#2520]: https://github.com/mochajs/mocha/pull/2520
256
- [#2593]: https://github.com/mochajs/mocha/pull/2593
257
- [#2584]: https://github.com/mochajs/mocha/issues/2584
258
- [#2570]: https://github.com/mochajs/mocha/issues/2570
259
- [@Aldaviva]: https://github.com/Aldaviva
260
- [@jeversmann]: https://github.com/jeversmann
261
- [@ughitsaaron]: https://github.com/ughitsaaron
262
- [@villesau]: https://github.com/villesau
263
- [@vobujs]: https://github.com/vobujs
264
-
265
- Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
266
-
267
- # 3.1.2 / 2016-10-10
268
-
269
- ## :bug: Bug Fix
270
-
271
- - [#2528]: Recovery gracefully if an `Error`'s `stack` property isn't writable ([@boneskull])
272
-
273
- [#2528]: https://github.com/mochajs/mocha/issues/2528
274
-
275
- # 3.1.1 / 2016-10-09
276
-
277
- ## :bug: Bug Fix
278
-
279
- - [#1417]: Don't report `done()` was called multiple times when it wasn't ([@frankleonrose])
280
-
281
- ## :nut_and_bolt: Other
282
-
283
- - [#2490]: Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic])
284
- - [#2525]: Lint all `.js` files ([@boneskull])
285
- - [#2524]: Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull])
286
-
287
- [#1417]: https://github.com/mochajs/mocha/issues/1417
288
- [#2490]: https://github.com/mochajs/mocha/issues/2490
289
- [#2525]: https://github.com/mochajs/mocha/issues/2525
290
- [#2524]: https://github.com/mochajs/mocha/issues/2524
291
- [@makepanic]: https://github.com/makepanic
292
- [@frankleonrose]: https://github.com/frankleonrose
293
-
294
- # 3.1.0 / 2016-09-27
295
-
296
- ## :tada: Enhancement
297
-
298
- - [#2357]: Support `--inspect` on command-line ([@simov])
299
- - [#2194]: Human-friendly error if no files are matched on command-line ([@Munter])
300
- - [#1744]: Human-friendly error if a Suite has no callback (BDD/TDD only) ([@anton])
301
-
302
- ## :bug: Bug Fix
303
-
304
- - [#2488]: Fix case in which *variables beginning with lowercase "D"* may not have been reported properly as global leaks ([@JustATrick]) :laughing:
305
- - [#2465]: Always halt execution in async function when `this.skip()` is called ([@boneskull])
306
- - [#2445]: Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter])
307
- - [#2315]: Fix uncaught TypeError thrown from callback stack ([@1999])
308
- - Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull])
309
- - [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull])
310
- - [#2496]: Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull])
311
-
312
- [#2496]: https://github.com/mochajs/mocha/issues/2496
313
- [#2502]: https://github.com/mochajs/mocha/issues/2502
314
- [#2315]: https://github.com/mochajs/mocha/issues/2315
315
- [#2445]: https://github.com/mochajs/mocha/pull/2445
316
- [#2465]: https://github.com/mochajs/mocha/issues/2465
317
- [#2488]: https://github.com/mochajs/mocha/issues/2488
318
- [#1744]: https://github.com/mochajs/mocha/issues/1744
319
- [#2194]: https://github.com/mochajs/mocha/issues/2194
320
- [#2357]: https://github.com/mochajs/mocha/issues/2357
321
- [@1999]: https://github.com/1999
322
- [@JustATrick]: https://github.com/JustATrick
323
- [@anton]: https://github.com/anton
324
- [@simov]: https://github.com/simov
325
-
326
- # 3.0.2 / 2016-08-08
327
-
328
- ## :bug: Bug Fix
329
-
330
- - [#2424]: Fix error loading Mocha via Require.js ([@boneskull])
331
- - [#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])
333
-
334
- [#2417]: https://github.com/mochajs/mocha/issues/2417
335
- [#2424]: https://github.com/mochajs/mocha/issues/2424
336
-
337
- # 3.0.1 / 2016-08-03
338
-
339
- ## :bug: Bug Fix
340
-
341
- - [#2406]: Restore execution of nested `describe.only()` suites ([@not-an-aardvark])
342
-
343
- [#2406]: https://github.com/mochajs/mocha/issues/2406
344
- [@not-an-aardvark]: https://github.com/not-an-aardvark
345
-
346
- # 3.0.0 / 2016-07-31
347
-
348
- ## :boom: Breaking Changes
349
-
350
- - :warning: Due to the increasing difficulty of applying security patches made within its dependency tree, as well as looming incompatibilities with Node.js v7.0, **Mocha no longer supports Node.js v0.8**.
351
- - :warning: **Mocha may no longer be installed by versions of `npm` less than `1.4.0`.** Previously, this requirement only affected Mocha's development dependencies. In short, this allows Mocha to depend on packages which have dependencies fixed to major versions (`^`).
352
- - `.only()` is no longer "fuzzy", can be used multiple times, and generally just works like you think it should. :joy:
353
- - To avoid common bugs, when a test injects a callback function (suggesting asynchronous execution), calls it, *and* returns a `Promise`, Mocha will now throw an exception:
354
-
355
- ```js
356
- const assert = require('assert');
357
-
358
- it('should complete this test', function (done) {
359
- return new Promise(function (resolve) {
360
- assert.ok(true);
361
- resolve();
362
- })
363
- .then(done);
364
- });
365
- ```
366
-
367
- The above test will fail with `Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.`.
368
- - When a test timeout value *greater than* `2147483648` is specified in any context (`--timeout`, `mocha.setup()`, per-suite, per-test, etc.), the timeout will be *disabled* and the test(s) will be allowed to run indefinitely. This is equivalent to specifying a timeout value of `0`. See [MDN](https://developer.mozilla.org/docs/Web/API/WindowTimers/setTimeout#Maximum_delay_value) for reasoning.
369
- - The `dot` reporter now uses more visually distinctive characters when indicating "pending" and "failed" tests.
370
- - Mocha no longer supports [component](https://www.npmjs.com/package/component).
371
- - The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to the "node-jscoverage" project--have been removed.
372
- - `spec` reporter now omits leading carriage returns (`\r`) in non-TTY environment.
373
-
374
- ## :tada: Enhancements
375
-
376
- - [#808]: Allow regular-expression-like strings in `--grep` and browser's `grep` querystring; enables flags such as `i` for case-insensitive matches and `u` for unicode. ([@a8m])
377
- - [#2000]: Use distinctive characters in `dot` reporter; `,` will denote a "pending" test and `!` will denote a "failing" test. ([@elliottcable])
378
- - [#1632]: Throw a useful exception when a suite or test lacks a title. ([@a8m])
379
- - [#1481]: Better `.only()` behavior. ([@a8m])
380
- - [#2334]: Allow `this.skip()` in async tests and hooks. ([@boneskull])
381
- - [#1320]: Throw a useful exception when test resolution method is overspecified. ([@jugglinmike])
382
- - [#2364]: Support `--preserve-symlinks`. ([@rosswarren])
383
-
384
- ## :bug: Bug Fixes
385
-
386
- - [#2259]: Restore ES3 compatibility. Specifically, support an environment lacking `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation of `JSON`. ([@ndhoule], [@boneskull])
387
- - [#2286]: Fix `after()` failing to execute if test skipped using `this.skip()` in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacontin], [@boneskull])
388
- - [#2208]: Fix function name display in `markdown` and `html` (browser) reporters. ([@ScottFreeCode])
389
- - [#2299]: Fix progress bar in `html` (browser) reporter. ([@AviVahl])
390
- - [#2307]: Fix `doc` reporter crashing when test fails. ([@jleyba])
391
- - [#2323]: Ensure browser entry point (`browser-entry.js`) is published to npm (for use with bundlers). ([@boneskull])
392
- - [#2310]: Ensure custom reporter with an absolute path works in Windows. ([@silentcloud])
393
- - [#2311]: Fix problem wherein calling `this.slow()` without a value would blast any previously set value. ([@boneskull])
394
- - [#1813]: Ensure Mocha's own test suite will run in Windows. ([@tswaters], [@TimothyGu], [@boneskull])
395
- - [#2317]: Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFreeCode])
396
- - [#1644]: Don't exhibit undefined behavior when calling `this.timeout()` with very large values ([@callumacrae], [@boneskull])
397
- - [#2361]: Don't truncate name of thrown anonymous exception. ([@boneskull])
398
- - [#2367]: Fix invalid CSS. ([@bensontrent])
399
- - [#2401]: Remove carriage return before each test line in spec reporter. ([@Munter])
400
-
401
- ## :nut_and_bolt: Other
402
-
403
- - Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`,
404
- and `supports-color`. ([@boneskull], [@RobLoach])
405
- - Add Windows to CI. ([@boneskull], [@TimothyGu])
406
- - Ensure appropriate `engines` field in `package.json`. ([@shinnn], [@boneskull])
407
- - [#2348]: Upgrade ESLint to v2 ([@anthony-redfox])
408
-
409
- We :heart: our [backers and sponsors](https://opencollective.com/mochajs)!
410
-
411
- :shipit:
412
-
413
- [#2401]: https://github.com/mochajs/mocha/pull/2401
414
- [#2348]: https://github.com/mochajs/mocha/issues/2348
415
- [#808]: https://github.com/mochajs/mocha/issues/808
416
- [#2361]: https://github.com/mochajs/mocha/pull/2361
417
- [#2367]: https://github.com/mochajs/mocha/pull/2367
418
- [#2364]: https://github.com/mochajs/mocha/pull/2364
419
- [#1320]: https://github.com/mochajs/mocha/pull/1320
420
- [#2307]: https://github.com/mochajs/mocha/pull/2307
421
- [#2259]: https://github.com/mochajs/mocha/pull/2259
422
- [#2208]: https://github.com/mochajs/mocha/pull/2208
423
- [#2299]: https://github.com/mochajs/mocha/pull/2299
424
- [#2286]: https://github.com/mochajs/mocha/issues/2286
425
- [#1644]: https://github.com/mochajs/mocha/issues/1644
426
- [#2310]: https://github.com/mochajs/mocha/issues/2310
427
- [#2311]: https://github.com/mochajs/mocha/issues/2311
428
- [#2323]: https://github.com/mochajs/mocha/issues/2323
429
- [#2000]: https://github.com/mochajs/mocha/pull/2000
430
- [#1632]: https://github.com/mochajs/mocha/issues/1632
431
- [#1813]: https://github.com/mochajs/mocha/issues/1813
432
- [#2334]: https://github.com/mochajs/mocha/issues/2334
433
- [#2317]: https://github.com/mochajs/mocha/issues/2317
434
- [#1481]: https://github.com/mochajs/mocha/issues/1481
435
- [@elliottcable]: https://github.com/elliottcable
436
- [@RobLoach]: https://github.com/robloach
437
- [@AviVahl]: https://github.com/avivahl
438
- [@silentcloud]: https://github.com/silentcloud
439
- [@tswaters]: https://github.com/tswaters
440
- [@jleyba]: https://github.com/jleyba
441
- [@TimothyGu]: https://github.com/timothygu
442
- [@callumacrae]: https://github.com/callumacrae
443
- [@shinnn]: https://github.com/shinnn
444
- [@bensontrent]: https://github.com/bensontrent
445
- [@jugglinmike]: https://github.com/jugglinmike
446
- [@rosswarren]: https://github.com/rosswarren
447
- [@anthony-redfox]: https://github.com/anthony-redfox
448
- [@Munter]: https://github.com/munter
449
-
450
- # 2.5.3 / 2016-05-25
451
-
452
- - [#2112] - Fix HTML reporter regression causing duplicate error output ([@danielstjules] via 6d24063)
453
- - [#2119] - Make HTML reporter failure/passed links preventDefault to avoid SPA's hash navigation ([@jimenglish81] via 9e93efc)
454
-
455
- [@danielstjules]: https://github.com/danielstjules
456
- [@jimenglish81]: https://github.com/jimenglish81
457
- [#2112]: https://github.com/mochajs/mocha/pull/2112
458
- [#2119]: https://github.com/mochajs/mocha/pull/2119
459
-
460
- # 2.5.2 / 2016-05-24
461
-
462
- - [#2178] - Avoid double and triple xUnit XML escaping ([@graingert] via 49b5ff1)
463
-
464
- [@graingert]: https://github.com/graingert
465
- [#2178]: https://github.com/mochajs/mocha/pull/2178
466
-
467
- # 2.5.1 / 2016-05-23
468
-
469
- - Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@boneskull] via bd9450b)
470
-
471
- Thanks @entertainyou, @SimenB, @just-paja for the heads-up.
472
-
473
- # 2.5.0 / 2016-05-23
474
-
475
- > 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).
476
- >
477
- > ### Browser Tests in CI
478
- >
479
- > We now run unit tests against PhantomJS v1.x and an assortment of browsers on [SauceLabs](https://saucelabs.com), including:
480
- > - Internet Explorer v8.0
481
- > - Chrome (latest)
482
- > - Firefox (latest)
483
- > - Safari (latest)
484
- > - Microsoft Edge (latest)
485
- >
486
- > 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.
487
- >
488
- > 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).
489
- >
490
- > ### Node.js 6.x
491
- > 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.
492
- >
493
- > ### "Minor" Release
494
- > You'll see mostly bug fixes below, but also a couple features--as such, it's a "minor" release.
495
- >
496
- > ### TYVM
497
- >
498
- > Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)!
499
-
500
- - [#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
- - [#880] - Make Mocha browserifyable ([@boneskull] via 524862b)
502
- - [#2121] - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije] via 7920fc4)
503
- - [#2126] - Fix dupe error messages in stack trace filter ([@Turbo87] via 4301caa)
504
- - [#2109] - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory] via 61fbb7f)
505
- - [#1827] - Fix TWBS/`mocha.css` collisions ([@irnc] via 0543798)
506
- - [#1760], [#1936] - Fix `this.skip()` in HTML reporter ([@mislav] via cb4248b)
507
- - [#2115] - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules] via e290bc0)
508
- - [#2089] - Handle Symbol values in `util.stringify()` ([@ryym] via ea61d05)
509
- - [#2097] - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni] via b20fdfe)
510
- - [#2101] - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo] via 9c41051)
511
- - [#2124] - Update [growl](https://npmjs.com/package/growl) ([@benjamine] via 9ae6a85)
512
- - [#2162], [#2205] - JSDoc fixes ([@OlegTsyba] via 8031f20, [@ScottFreeCode] via f83b1d9)
513
- - [#2132] - Remove Growl-related cruft ([@julienw] via 00d6469)
514
- - [#2172] - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman], [@boneskull] via caee94f)
515
- - [#1841] - Add new logo, banner assets ([@dasilvacontin] via 00fd0e1)
516
- - [#2214] - Update `README.md` header ([@dasilvacontin] via c0f9be2)
517
- - [#2236] - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin] via ba5637d)
518
- - [#2239] - Add Node.js v6.x to CI matrix ([@boneskull] via 3904da4)
519
-
520
- [#880]: https://github.com/mochajs/mocha/issues/880
521
- [#1841]: https://github.com/mochajs/mocha/pull/1841
522
- [#2239]: https://github.com/mochajs/mocha/issues/2239
523
- [#2153]: https://github.com/mochajs/mocha/pull/2153
524
- [#2214]: https://github.com/mochajs/mocha/pull/2214
525
- [#2236]: https://github.com/mochajs/mocha/pull/2236
526
- [#2079]: https://github.com/mochajs/mocha/issues/2079
527
- [#2231]: https://github.com/mochajs/mocha/pull/2231
528
- [#2089]: https://github.com/mochajs/mocha/issues/2089
529
- [#2097]: https://github.com/mochajs/mocha/pull/2097
530
- [#1760]: https://github.com/mochajs/mocha/issues/1760
531
- [#1936]: https://github.com/mochajs/mocha/issues/1936
532
- [#2115]: https://github.com/mochajs/mocha/pull/2115
533
- [#1827]: https://github.com/mochajs/mocha/pull/1827
534
- [#2101]: https://github.com/mochajs/mocha/pull/2101
535
- [#2124]: https://github.com/mochajs/mocha/pull/2124
536
- [#2109]: https://github.com/mochajs/mocha/issues/2109
537
- [#2162]: https://github.com/mochajs/mocha/pull/2162
538
- [#2132]: https://github.com/mochajs/mocha/issues/2132
539
- [#2126]: https://github.com/mochajs/mocha/issues/2126
540
- [#2121]: https://github.com/mochajs/mocha/issues/2121
541
- [#2205]: https://github.com/mochajs/mocha/pull/2205
542
- [#2172]: https://github.com/mochajs/mocha/pull/2172
543
- [@xdamman]: https://github.com/xdamman
544
- [@Turbo87]: https://github.com/Turbo87
545
- [@OlegTsyba]: https://github.com/OlegTsyba
546
- [@ryym]: https://github.com/ryym
547
- [@mantoni]: https://github.com/mantoni
548
- [@mislav]: https://github.com/mislav
549
- [@irnc]: https://github.com/irnc
550
- [@jkimbo]: https://github.com/jkimbo
551
- [@benjamine]: https://github.com/benjamine
552
- [@joshlory]: https://github.com/joshlory
553
- [@julienw]: https://github.com/julienw
554
- [@ScottFreeCode]: https://github.com/ScottFreeCode
555
- [@astorije]: https://github.com/astorije
556
- [@dasilvacontin]: https://github.com/dasilvacontin
557
-
558
- 2.4.5 / 2016-01-28
559
- ==================
560
-
561
- * [#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])
562
- * [#2082] - Fix several test assertions ([@mislav])
563
-
564
- [#1200]: https://github.com/mochajs/mocha/issues/1200
565
- [#2082]: https://github.com/mochajs/mocha/pull/2082
566
-
567
- 2.4.4 / 2016-01-27
568
- ==================
569
-
570
- * [#2080] - Fix broken RequireJS compatibility ([@boneskull])
571
-
572
- [#2080]: https://github.com/mochajs/mocha/issues/2080
573
-
574
- 2.4.3 / 2016-01-27
575
- ==================
576
-
577
- * [#2078] - Fix broken IE8 ([@boneskull])
578
-
579
- [#2078]: https://github.com/mochajs/mocha/issues/2078
580
-
581
- 2.4.2 / 2016-01-26
582
- ==================
583
-
584
- * [#2053] - Fix web worker compatibility ([@mislav])
585
- * [#2072] - Fix Windows color output ([@thedark1337])
586
- * [#2073] - Fix colors in `progress` and `landing` reporters ([@gyandeeps])
587
-
588
- [#2053]: https://github.com/mochajs/mocha/pull/2053
589
- [#2072]: https://github.com/mochajs/mocha/pull/2072
590
- [#2073]: https://github.com/mochajs/mocha/pull/2073
591
- [@gyandeeps]: https://github.com/gyandeeps
592
- [@thedark1337]: https://github.com/thedark1337
593
-
594
- 2.4.1 / 2016-01-26
595
- ==================
596
-
597
- * [#2067] - Fix HTML/doc reporter regressions ([@danielstjules])
598
-
599
- [#2067]: https://github.com/mochajs/mocha/pull/2067
600
-
601
- 2.4.0 / 2016-01-25
602
- ==================
603
-
604
- * [#1945] - Correctly skip tests when skipping in suite's before() ([@ryanshawty])
605
- * [#2056] - chore(license): update license year to 2016 ([@pra85])
606
- * [#2048] - Fix `this.skip` from spec with HTML reporter ([@mislav])
607
- * [#2033] - Update tests for newer versions of should.js ([@tomhughes])
608
- * [#2037] - Fix for memory leak caused by referenced to deferred test ([@bd82])
609
- * [#2038] - Also run Travis-CI on node.js 4 & 5 ([@bd82])
610
- * [#2028] - Remove reference to test before afterAll hook runs ([@stonelgh])
611
- * Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules])
612
- * [#1977] - safely stringify PhantomJS undefined value ([@ahamid])
613
- * Add the ability to retry tests ([@@longlho])
614
- * [#1982] - Enable --log-timer-events option [@Alaneor]
615
- * Fix #1980: Load mocha.opts from bin/mocha and bin/_mocha ([@danielstjules])
616
- * [#1976] - Simplify function call ([@iclanzan])
617
- * [#1963] - Add support --perf-basic-prof ([@robraux])
618
- * [#1981] - Fix HTML reporter handling of done and exceptions ([@Standard8])
619
- * [#1993] - propagate "file" property for "exports" interface ([@segrey])
620
- * [#1999] - Add support for strict mode ([@tmont])
621
- * [#2005] - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves])
622
- * [#2021] - Fix non ES5 compliant regexp ([@zetaben])
623
- * [#1965] - Don't double install BDD UI ([@cowboyd])
624
- * [#1995] - Make sure the xunit output dir exists before writing to it ([@ianwremmel])
625
- * Use chalk for the base reporter colors; closes #1200 ([@boneskull])
626
- * Fix requiring custom interfaces ([@jgkim])
627
- * [#1967] Silence Bluebird js warnings ([@krisr])
628
-
629
- [#1945]: https://github.com/mochajs/mocha/pull/1945
630
- [#2056]: https://github.com/mochajs/mocha/pull/2056
631
- [#2048]: https://github.com/mochajs/mocha/pull/2048
632
- [#2033]: https://github.com/mochajs/mocha/pull/2033
633
- [#2037]: https://github.com/mochajs/mocha/pull/2037
634
- [#2038]: https://github.com/mochajs/mocha/pull/2038
635
- [#2028]: https://github.com/mochajs/mocha/pull/2028
636
- [#1977]: https://github.com/mochajs/mocha/pull/1977
637
- [#1982]: https://github.com/mochajs/mocha/pull/1982
638
- [#1976]: https://github.com/mochajs/mocha/pull/1976
639
- [#1963]: https://github.com/mochajs/mocha/pull/1963
640
- [#1981]: https://github.com/mochajs/mocha/pull/1981
641
- [#1993]: https://github.com/mochajs/mocha/pull/1993
642
- [#1999]: https://github.com/mochajs/mocha/pull/1999
643
- [#2005]: https://github.com/mochajs/mocha/pull/2005
644
- [#2021]: https://github.com/mochajs/mocha/pull/2021
645
- [1965#]: https://github.com/mochajs/mocha/pull/1965
646
- [#1995]: https://github.com/mochajs/mocha/pull/1995
647
- [#1967]: https://github.com/mochajs/mocha/pull/1967
648
- [@ryanshawty]: https://github.com/ryanshawty
649
- [@pra85]: https://github.com/pra85
650
- [@mislav]: https://github.com/mislav
651
- [@tomhughes]: https://github.com/tomhughes
652
- [@bd82]: https://github.com/bd82
653
- [@stonelgh]: https://github.com/stonelgh
654
- [@danielstjules]: https://github.com/danielstjules
655
- [@ahamid]: https://github.com/ahamid
656
- [@longlho]: https://github.com/longlho
657
- [@Alaneor]: https://github.com/Alaneor
658
- [@iclanzan]: https://github.com/iclanzan
659
- [@robraux]: https://github.com/robraux
660
- [@Standard8]: https://github.com/Standard8
661
- [@segrey]: https://github.com/segrey
662
- [@tmont]: https://github.com/tmont
663
- [@jonnyreeves]: https://github.com/jonnyreeves
664
- [@zetaben]: https://github.com/zetaben
665
- [@cowboyd]: https://github.com/cowboyd
666
- [@ianwremmel]: https://github.com/ianwremmel
667
- [@boneskull]: https://github.com/boneskull
668
- [@jgkim]: https://github.com/jgkim
669
- [@krisr]: https://github.com/krisr
670
-
671
- 2.3.4 / 2015-11-15
672
- ==================
673
-
674
- * Update debug dependency to 2.2.0
675
- * remove duplication of mocha.opts on process.argv
676
- * Fix typo in test/reporters/nyan.js
677
-
678
- 2.3.3 / 2015-09-19
679
- ==================
680
-
681
- * [#1875] - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules])
682
- * [#1864] - Fix xunit missing output with --reporter-options output ([@danielstjules])
683
- * [#1846] - Support all harmony flags ([@danielstjules])
684
- * Fix fragile xunit reporter spec ([@danielstjules])
685
- * [#1669] - Fix catch uncaught errors outside test suite execution ([@danielstjules])
686
- * [#1868] - Revert jade to support npm < v1.3.7 ([@danielstjules])
687
- * [#1766] - Don't remove modules/components from stack trace in the browser ([@danielstjules])
688
- * [#1798] - Fix correctly attribute mutiple done err with hooks ([@danielstjules])
689
- * Fix use utils.reduce for IE8 compatibility ([@wsw0108])
690
- * Some linting errors fixed by [@danielstjules]
691
- * Call the inspect() function if message is not set ([@kevinburke])
692
-
693
- [#1875]: https://github.com/mochajs/mocha/issues/1875
694
- [#1864]: https://github.com/mochajs/mocha/issues/1864
695
- [#1846]: https://github.com/mochajs/mocha/issues/1846
696
- [#1669]: https://github.com/mochajs/mocha/issues/1669
697
- [#1868]: https://github.com/mochajs/mocha/issues/1868
698
- [#1766]: https://github.com/mochajs/mocha/issues/1766
699
- [#1798]: https://github.com/mochajs/mocha/issues/1798
700
- [@danielstjules]: https://github.com/danielstjules
701
- [@wsw0108]: https://github.com/wsw0108
702
- [@kevinburke]: https://github.com/kevinburke
703
-
704
- 2.3.2 / 2015-09-07
705
- ==================
706
- * [#1868] - Fix compatibility with older versions of NPM ([@boneskull])
707
-
708
- [#1868]: https://github.com/mochajs/mocha/issues/1868
709
-
710
- 2.3.1 / 2015-09-06
711
- ==================
712
-
713
- * [#1812] - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows])
714
-
715
- [#1812]: https://github.com/mochajs/mocha/issues/1812
716
- [aaroncrows]: https://github.com/aaroncrows
717
-
718
- 2.3.0 / 2015-08-30
719
- ==================
720
-
721
- * [#553] - added --allowUncaught option ([@amsul])
722
- * [#1490] - Allow --async-only to be satisfied by returning a promise ([@jlai])
723
- * [#1829] - support --max-old-space-size ([@gigadude])
724
- * [#1811] - upgrade Jade dependency ([@outsideris])
725
- * [#1769] - Fix async hook error handling ([@ajaykodali])
726
- * [#1230] - More descriptive beforeEach/afterEach messages ([@duncanbeevers])
727
- * [#1787] - Scope loading behaviour instead of using early return ([@aryeguy])
728
- * [#1789] - Fix: html-runner crashing ([@sunesimonsen])
729
- * [#1749] - Fix maximum call stack error on large amount of tests ([@tinganho])
730
- * [#1230] - Decorate failed hook titles with test title ([@duncanbeevers])
731
- * [#1260] - Build using Browserify ([@ndhoule])
732
- * [#1728] - Don't use `__proto__` ([@ndhoule])
733
- * [#1781] - Fix hook error tests ([@glenjamin])
734
- * [#1754] - Allow boolean --reporter-options ([@papandreou])
735
- * [#1766] - Fix overly aggressive stack suppression ([@moll])
736
- * [#1752] - Avoid potential infinite loop ([@gsilk])
737
- * [#1761] - Fix problems running under PhantomJS ([@chromakode])
738
- * [#1700] - Fix more problems running under PhantomJS ([@jbnicolai])
739
- * [#1774] - Support escaped spaces in CLI options ([@adamgruber])
740
- * [#1687] - Fix HTML reporter links with special chars ([@benvinegar])
741
- * [#1359] - Adopt code style and enforce it using ESLint ([@ndhoule] w/ assist from [@jbnicolai] & [@boneskull])
742
- * various refactors ([@jbnicolai])
743
- * [#1758] - Add cross-frame compatible Error checking ([@outdooricon])
744
- * [#1741] - Remove moot `version` property from bower.json ([@kkirsche])
745
- * [#1739] - Improve `HISTORY.md` ([@rstacruz])
746
- * [#1730] - Support more io.js flags ([@ryedog])
747
- * [#1349] - Allow HTML in HTML reporter errors ([@papandreou] / [@sunesimonsen])
748
- * [#1572] - Prevent default browser behavior for failure/pass links ([@jschilli])
749
- * [#1630] - Support underscored harmony flags ([@dominicbarnes])
750
- * [#1718] - Support more harmony flags ([@slyg])
751
- * [#1689] - Add stack to JSON-stream reporter ([@jonathandelgado])
752
- * [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh])
753
-
754
- [#553]: https://github.com/mochajs/mocha/issues/553
755
- [#1490]: https://github.com/mochajs/mocha/issues/1490
756
- [#1829]: https://github.com/mochajs/mocha/issues/1829
757
- [#1811]: https://github.com/mochajs/mocha/issues/1811
758
- [#1769]: https://github.com/mochajs/mocha/issues/1769
759
- [#1230]: https://github.com/mochajs/mocha/issues/1230
760
- [#1787]: https://github.com/mochajs/mocha/issues/1787
761
- [#1789]: https://github.com/mochajs/mocha/issues/1789
762
- [#1749]: https://github.com/mochajs/mocha/issues/1749
763
- [#1230]: https://github.com/mochajs/mocha/issues/1230
764
- [#1260]: https://github.com/mochajs/mocha/issues/1260
765
- [#1728]: https://github.com/mochajs/mocha/issues/1728
766
- [#1781]: https://github.com/mochajs/mocha/issues/1781
767
- [#1754]: https://github.com/mochajs/mocha/issues/1754
768
- [#1766]: https://github.com/mochajs/mocha/issues/1766
769
- [#1752]: https://github.com/mochajs/mocha/issues/1752
770
- [#1761]: https://github.com/mochajs/mocha/issues/1761
771
- [#1700]: https://github.com/mochajs/mocha/issues/1700
772
- [#1774]: https://github.com/mochajs/mocha/issues/1774
773
- [#1687]: https://github.com/mochajs/mocha/issues/1687
774
- [#1359]: https://github.com/mochajs/mocha/issues/1359
775
- [#1758]: https://github.com/mochajs/mocha/issues/1758
776
- [#1741]: https://github.com/mochajs/mocha/issues/1741
777
- [#1739]: https://github.com/mochajs/mocha/issues/1739
778
- [#1730]: https://github.com/mochajs/mocha/issues/1730
779
- [#1349]: https://github.com/mochajs/mocha/issues/1349
780
- [#1572]: https://github.com/mochajs/mocha/issues/1572
781
- [#1630]: https://github.com/mochajs/mocha/issues/1630
782
- [#1718]: https://github.com/mochajs/mocha/issues/1718
783
- [#1689]: https://github.com/mochajs/mocha/issues/1689
784
- [#1654]: https://github.com/mochajs/mocha/issues/1654
785
- [@adamgruber]: https://github.com/adamgruber
786
- [@ajaykodali]: https://github.com/ajaykodali
787
- [@amsul]: https://github.com/amsul
788
- [@aryeguy]: https://github.com/aryeguy
789
- [@benvinegar]: https://github.com/benvinegar
790
- [@boneskull]: https://github.com/boneskull
791
- [@chromakode]: https://github.com/chromakode
792
- [@dominicbarnes]: https://github.com/dominicbarnes
793
- [@duncanbeevers]: https://github.com/duncanbeevers
794
- [@gigadude]: https://github.com/gigadude
795
- [@glenjamin]: https://github.com/glenjamin
796
- [@gsilk]: https://github.com/gsilk
797
- [@jakemmarsh]: https://github.com/jakemmarsh
798
- [@jbnicolai]: https://github.com/jbnicolai
799
- [@jlai]: https://github.com/jlai
800
- [@jonathandelgado]: https://github.com/jonathandelgado
801
- [@jschilli]: https://github.com/jschilli
802
- [@kkirsche]: https://github.com/kkirsche
803
- [@moll]: https://github.com/moll
804
- [@ndhoule]: https://github.com/ndhoule
805
- [@outdooricon]: https://github.com/outdooricon
806
- [@outsideris]: https://github.com/outsideris
807
- [@papandreou]: https://github.com/papandreou
808
- [@rstacruz]: https://github.com/rstacruz
809
- [@ryedog]: https://github.com/ryedog
810
- [@slyg]: https://github.com/slyg
811
- [@sunesimonsen]: https://github.com/sunesimonsen
812
- [@tinganho]: https://github.com/tinganho
813
-
814
- 2.2.5 / 2015-05-14
815
- ==================
816
-
817
- * [#1699] - Upgrade jsdiff to v1.4.0 ([@nylen])
818
- * [#1648] - fix diff background colors in the console ([@nylen])
819
- * [#1327] - fix tests running twice, a regression issue. ([#1686], [@danielstjules])
820
- * [#1675] - add integration tests ([@danielstjules])
821
- * [#1682] - use a valid SPDX license identifier in package.json ([@kemitchell])
822
- * [#1660] - fix assertion of invalid dates ([#1661], [@a8m])
823
- * [#1241] - fix issue with multiline diffs appearing as single line ([#1655], [@a8m])
824
-
825
- [#1699]: https://github.com/mochajs/mocha/issues/1699
826
- [#1648]: https://github.com/mochajs/mocha/issues/1648
827
- [#1327]: https://github.com/mochajs/mocha/issues/1327
828
- [#1686]: https://github.com/mochajs/mocha/issues/1686
829
- [#1675]: https://github.com/mochajs/mocha/issues/1675
830
- [#1682]: https://github.com/mochajs/mocha/issues/1682
831
- [#1660]: https://github.com/mochajs/mocha/issues/1660
832
- [#1661]: https://github.com/mochajs/mocha/issues/1661
833
- [#1241]: https://github.com/mochajs/mocha/issues/1241
834
- [#1655]: https://github.com/mochajs/mocha/issues/1655
835
- [@nylen]: https://github.com/nylen
836
- [@danielstjules]: https://github.com/danielstjules
837
- [@kemitchell]: https://github.com/kemitchell
838
- [@a8m]: https://github.com/a8m
839
-
840
- 2.2.4 / 2015-04-08
841
- ==================
842
-
843
- * Load mocha.opts in _mocha for now (close #1645)
844
-
845
- 2.2.3 / 2015-04-07
846
- ==================
847
-
848
- * fix(reporter/base): string diff - issue #1241
849
- * fix(reporter/base): string diff - issue #1241
850
- * fix(reporter/base): don't show diffs for errors without expectation
851
- * fix(reporter/base): don't assume error message is first line of stack
852
- * improve: dry up reporter/base test
853
- * fix(reporter/base): explicitly ignore showDiff #1614
854
- * Add iojs to travis build
855
- * Pass `--allow-natives-syntax` flag to node.
856
- * Support --harmony_classes flag for io.js
857
- * Fix 1556: Update utils.clean to handle newlines in func declarations
858
- * Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers
859
- * Fix 1585: make _mocha executable again
860
- * chore(package.json): add a8m as a contributor
861
- * Fixed broken link on html-cov reporter
862
- * support --es_staging flag
863
- * fix issue where menu overlaps content.
864
- * update contributors in package.json
865
- * Remove trailing whitespace from reporter output
866
- * Remove contributors list from readme
867
- * log third-party reporter errors
868
- * [Fix] Exclude not own properties when looping on options
869
- * fix: support node args in mocha.opts (close #1573)
870
- * fix(reporter/base): string diff - issue #1241
871
-
872
- 2.2.1 / 2015-03-09
873
- ==================
874
-
875
- * Fix passing of args intended for node/iojs.
876
-
877
- 2.2.0 / 2015-03-06
878
- ==================
879
-
880
- * Update mocha.js
881
- * Add --fgrep. Use grep for RegExp, fgrep for str
882
- * Ignore async global errors after spec resolution
883
- * Fixing errors that prevent mocha.js from loading in the browser - fixes #1558
884
- * fix(utils): issue #1558 + make
885
- * add ability to delay root suite; closes #362, closes #1124
886
- * fix insanity in http tests
887
- * update travis: add node 0.12, add gitter, remove slack
888
- * building
889
- * resolve #1548: ensure the environment's "node" executable is used
890
- * reporters/base: use supports-color to detect colorable term
891
- * travis: use docker containers
892
- * small fix: commander option for --expose-gc
893
- * Ignore asynchronous errors after global failure
894
- * Improve error output when a test fails with a non-error
895
- * updated travis badge, uses svg instead of img
896
- * Allow skip from test context for #332
897
- * [JSHINT] Unnecessary semicolon fixed in bin/_mocha
898
- * Added a reminder about the done() callback to test timeout error messages
899
- * fixes #1496, in Mocha.run(fn), check if fn exists before executing it, added tests too
900
- * Add Harmony Proxy flag for iojs
901
- * test(utils|ms|*): test existing units
902
- * add support for some iojs flags
903
- * fix(utils.stringify): issue #1229, diff viewer
904
- * Remove slack link
905
- * Prevent multiple 'grep=' querystring params in html reporter
906
- * Use grep as regexp (close #1381)
907
- * utils.stringify should handle objects without an Object prototype
908
- * in runnable test, comparing to undefined error's message rather than a literal
909
- * Fix test running output truncation on async STDIO
910
- * amended for deprecated customFds option in child_process
911
-
912
- 2.1.0 / 2014-12-23
913
- ==================
914
-
915
- * showDiff: don’t stringify strings
916
- * Clean up unused module dependencies.
917
- * Filter zero-length strings from mocha.opts
918
- * only write to stdout in reporters
919
- * Revert "only write to stdout in reporters"
920
- * Print colored output only to a tty
921
- * update summary in README.md
922
- * rename Readme.md/History.md to README.md/HISTORY.md because neurotic
923
- * add .mailmap to fix "git shortlog" or "git summary" output
924
- * fixes #1461: nyan-reporter now respects Base.useColors, fixed bug where Base.color would not return a string when str wasn't a string.
925
- * Use existing test URL builder in failed replay links
926
- * modify .travis.yml: use travis_retry; closes #1449
927
- * fix -t 0 behavior; closes #1446
928
- * fix tests (whoops)
929
- * improve diff behavior
930
- * Preserve pathname when linking to individual tests
931
- * Fix test
932
- * Tiny typo in comments fixed
933
- * after hooks now being called on failed tests when using bail, fixes #1093
934
- * fix throwing undefined/null now makes tests fail, fixes #1395
935
- * compiler extensions are added as watched extensions, removed non-standard extensions from watch regex, resolves #1221
936
- * prefix/namespace for suite titles in markdown reporter, fixes #554
937
- * fix more bad markdown in CONTRIBUTING.md
938
- * fix bad markdown in CONTRIBUTING.md
939
- * add setImmediate/clearImmediate to globals; closes #1435
940
- * Fix buffer diffs (closes #1132, closes #1433)
941
- * add a CONTRIBUTING.md. closes #882
942
- * fix intermittent build failures (maybe). closes #1407
943
- * add Slack notification to .travis.yml
944
- * Fix slack link
945
- * Add slack room to readme
946
- * Update maintainers
947
- * update maintainers and contributors
948
- * resolves #1393: kill children with more effort on SIGINT
949
- * xunit reporter support for optionally writing to a file
950
- * if a reporter has a .done method, call it before exiting
951
- * add support for reporter options
952
- * only write to stdout in reporters
953
-
954
- 2.0.0 / 2014-10-21
955
- ==================
956
-
957
- * remove: support for node 0.6.x, 0.4.x
958
- * fix: landing reporter with non ansi characters (#211)
959
- * fix: html reporter - preserve query params when navigating to suites/tests (#1358)
960
- * fix: json stream reporter add error message to failed test
961
- * fix: fixes for visionmedia -> mochajs
962
- * fix: use stdio, fixes node deprecation warnings (#1391)
963
-
964
- 1.21.5 / 2014-10-11
965
- ==================
966
-
967
- * fix: build for NodeJS v0.6.x
968
- * fix: do not attempt to highlight syntax when non-HTML reporter is used
969
- * update: escape-string-regexp to 1.0.2.
970
- * fix: botched indentation in canonicalize()
971
- * fix: .gitignore: ignore .patch and .diff files
972
- * fix: changed 'Catched' to 'Caught' in uncaught exception error handler messages
973
- * add: `pending` field for json reporter
974
- * fix: Runner.prototype.uncaught: don't double-end runnables that already have a state.
975
- * fix: --recursive, broken by f0facd2e
976
- * update: replaces escapeRegexp with the escape-string-regexp package.
977
- * update: commander to 2.3.0.
978
- * update: diff to 1.0.8.
979
- * fix: ability to disable syntax highlighting (#1329)
980
- * fix: added empty object to errorJSON() call to catch when no error is present
981
- * fix: never time out after calling enableTimeouts(false)
982
- * fix: timeout(0) will work at suite level (#1300)
983
- * Fix for --watch+only() issue (#888 )
984
- * fix: respect err.showDiff, add Base reporter test (#810)
985
-
986
- 1.22.1-3 / 2014-07-27
987
- ==================
988
-
989
- * fix: disabling timeouts with this.timeout(0) (#1301)
990
-
991
- 1.22.1-3 / 2014-07-27
992
- ==================
993
-
994
- * fix: local uis and reporters (#1288)
995
- * fix: building 1.21.0's changes in the browser (#1284)
996
-
997
- 1.21.0 / 2014-07-23
998
- ==================
999
-
1000
- * add: --no-timeouts option (#1262, #1268)
1001
- * add: --*- deprecation node flags (#1217)
1002
- * add: --watch-extensions argument (#1247)
1003
- * change: spec reporter is default (#1228)
1004
- * fix: diff output showing incorrect +/- (#1182)
1005
- * fix: diffs of circular structures (#1179)
1006
- * fix: re-render the progress bar when progress has changed only (#1151)
1007
- * fix support for environments with global and window (#1159)
1008
- * fix: reverting to previously defined onerror handler (#1178)
1009
- * fix: stringify non error objects passed to done() (#1270)
1010
- * fix: using local ui, reporters (#1267)
1011
- * fix: cleaning es6 arrows (#1176)
1012
- * fix: don't include attrs in failure tag for xunit (#1244)
1013
- * fix: fail tests that return a promise if promise is rejected w/o a reason (#1224)
1014
- * fix: showing failed tests in doc reporter (#1117)
1015
- * fix: dot reporter dots being off (#1204)
1016
- * fix: catch empty throws (#1219)
1017
- * fix: honoring timeout for sync operations (#1242)
1018
- * update: growl to 1.8.0
1019
-
1020
- 1.20.1 / 2014-06-03
1021
- ==================
1022
-
1023
- * update: should dev dependency to ~4.0.0 (#1231)
1024
-
1025
- 1.20.0 / 2014-05-28
1026
- ==================
1027
-
1028
- * add: filenames to suite objects (#1222)
1029
-
1030
- 1.19.0 / 2014-05-17
1031
- ==================
1032
-
1033
- * add: browser script option to package.json
1034
- * add: export file in Mocha.Test objects (#1174)
1035
- * add: add docs for wrapped node flags
1036
- * fix: mocha.run() to return error status in browser (#1216)
1037
- * fix: clean() to show failure details (#1205)
1038
- * fix: regex that generates html for new keyword (#1201)
1039
- * fix: sibling suites have inherited but separate contexts (#1164)
1040
-
1041
-
1042
- 1.18.2 / 2014-03-18
1043
- ==================
1044
-
1045
- * fix: html runner was prevented from using #mocha as the default root el (#1162)
1046
-
1047
- 1.18.1 / 2014-03-18
1048
- ==================
1049
-
1050
- * fix: named before/after hooks in bdd, tdd, qunit interfaces (#1161)
1051
-
1052
- 1.18.0 / 2014-03-13
1053
- ==================
1054
-
1055
- * add: promise support (#329)
1056
- * add: named before/after hooks (#966)
1057
-
1058
- 1.17.1 / 2014-01-22
1059
- ==================
1060
-
1061
- * fix: expected messages in should.js (should.js#168)
1062
- * fix: expect errno global in node versions < v0.9.11 (#1111)
1063
- * fix: unreliable checkGlobals optimization (#1110)
1064
-
1065
- 1.17.0 / 2014-01-09
1066
- ==================
1067
-
1068
- * add: able to require globals (describe, it, etc.) through mocha (#1077)
1069
- * fix: abort previous run on --watch change (#1100)
1070
- * fix: reset context for each --watch triggered run (#1099)
1071
- * fix: error when cli can't resolve path or pattern (#799)
1072
- * fix: canonicalize objects before stringifying and diffing them (#1079)
1073
- * fix: make CR call behave like carriage return for non tty (#1087)
1074
-
1075
-
1076
- 1.16.2 / 2013-12-23
1077
- ==================
1078
-
1079
- * fix: couple issues with ie 8 (#1082, #1081)
1080
- * fix: issue running the xunit reporter in browsers (#1068)
1081
- * fix: issue with firefox < 3.5 (#725)
1082
-
1083
-
1084
- 1.16.1 / 2013-12-19
1085
- ==================
1086
-
1087
- * fix: recompiled for missed changes from the last release
1088
-
1089
-
1090
- 1.16.0 / 2013-12-19
1091
- ==================
1092
-
1093
- * add: Runnable.globals(arr) for per test global whitelist (#1046)
1094
- * add: mocha.throwError(err) for assertion libs to call (#985)
1095
- * remove: --watch's spinner (#806)
1096
- * fix: duplicate test output for multi-line specs in spec reporter (#1006)
1097
- * fix: gracefully exit on SIGINT (#1063)
1098
- * fix expose the specified ui only in the browser (#984)
1099
- * fix: ensure process exit code is preserved when using --no-exit (#1059)
1100
- * fix: return true from window.onerror handler (#868)
1101
- * fix: xunit reporter to use process.stdout.write (#1068)
1102
- * fix: utils.clean(str) indentation (#761)
1103
- * fix: xunit reporter returning test duration a NaN (#1039)
1104
-
1105
- 1.15.1 / 2013-12-03
1106
- ==================
1107
-
1108
- * fix: recompiled for missed changes from the last release
1109
-
1110
- 1.15.0 / 2013-12-02
1111
- ==================
1112
-
1113
- * add: `--no-exit` to prevent `process.exit()` (#1018)
1114
- * fix: using inline diffs (#1044)
1115
- * fix: show pending test details in xunit reporter (#1051)
1116
- * fix: faster global leak detection (#1024)
1117
- * fix: yui compression (#1035)
1118
- * fix: wrapping long lines in test results (#1030, #1031)
1119
- * fix: handle errors in hooks (#1043)
1120
-
1121
- 1.14.0 / 2013-11-02
1122
- ==================
1123
-
1124
- * add: unified diff (#862)
1125
- * add: set MOCHA_COLORS env var to use colors (#965)
1126
- * add: able to override tests links in html reporters (#776)
1127
- * remove: teamcity reporter (#954)
1128
- * update: commander dependency to 2.0.0 (#1010)
1129
- * fix: mocha --ui will try to require the ui if not built in, as --reporter does (#1022)
1130
- * fix: send cursor commands only if isatty (#184, #1003)
1131
- * fix: include assertion message in base reporter (#993, #991)
1132
- * fix: consistent return of it, it.only, and describe, describe.only (#840)
1133
-
1134
- 1.13.0 / 2013-09-15
1135
- ==================
1136
-
1137
- * add: sort test files with --sort (#813)
1138
- * update: diff dependency to 1.0.7
1139
- * update: glob dependency to 3.2.3 (#927)
1140
- * fix: diffs show whitespace differences (#976)
1141
- * fix: improve global leaks (#783)
1142
- * fix: firefox window.getInterface leak
1143
- * fix: accessing iframe via window[iframeIndex] leak
1144
- * fix: faster global leak checking
1145
- * fix: reporter pending css selector (#970)
1146
-
1147
- 1.12.1 / 2013-08-29
1148
- ==================
1149
-
1150
- * remove test.js from .gitignore
1151
- * update included version of ms.js
1152
-
1153
- 1.12.0 / 2013-07-01
1154
- ==================
1155
-
1156
- * add: prevent diffs for differing types. Closes #900
1157
- * add `Mocha.process` hack for phantomjs
1158
- * fix: use compilers with requires
1159
- * fix regexps in diffs. Closes #890
1160
- * fix xunit NaN on failure. Closes #894
1161
- * fix: strip tab indentation in `clean` utility method
1162
- * fix: textmate bundle installation
1163
-
1164
- 1.11.0 / 2013-06-12
1165
- ==================
1166
-
1167
- * add --prof support
1168
- * add --harmony support
1169
- * add --harmony-generators support
1170
- * add "Uncaught " prefix to uncaught exceptions
1171
- * add web workers support
1172
- * add `suite.skip()`
1173
- * change to output # of pending / passing even on failures. Closes #872
1174
- * fix: prevent hooks from being called if we are bailing
1175
- * fix `this.timeout(0)`
1176
-
1177
- 1.10.0 / 2013-05-21
1178
- ==================
1179
-
1180
- * add add better globbing support for windows via `glob` module
1181
- * add support to pass through flags such as --debug-brk=1234. Closes #852
1182
- * add test.only, test.skip to qunit interface
1183
- * change to always use word-based diffs for now. Closes #733
1184
- * change `mocha init` tests.html to index.html
1185
- * fix `process` global leak in the browser
1186
- * fix: use resolve() instead of join() for --require
1187
- * fix: filterLeaks() condition to not consider indices in global object as leaks
1188
- * fix: restrict mocha.css styling to #mocha id
1189
- * fix: save timer references to avoid Sinon interfering in the browser build.
1190
-
1191
- 1.9.0 / 2013-04-03
1192
- ==================
1193
-
1194
- * add improved setImmediate implementation
1195
- * replace --ignore-leaks with --check-leaks
1196
- * change default of ignoreLeaks to true. Closes #791
1197
- * remove scrolling for HTML reporter
1198
- * fix retina support
1199
- * fix tmbundle, restrict to js scope
1200
-
1201
- 1.8.2 / 2013-03-11
1202
- ==================
1203
-
1204
- * add `setImmediate` support for 0.10.x
1205
- * fix mocha -w spinner on windows
1206
-
1207
- 1.8.1 / 2013-01-09
1208
- ==================
1209
-
1210
- * fix .bail() arity check causing it to default to true
1211
-
1212
- 1.8.0 / 2013-01-08
1213
- ==================
1214
-
1215
- * add Mocha() options bail support
1216
- * add `Mocha#bail()` method
1217
- * add instanceof check back for inheriting from Error
1218
- * add component.json
1219
- * add diff.js to browser build
1220
- * update growl
1221
- * fix TAP reporter failures comment :D
1222
-
1223
- 1.7.4 / 2012-12-06
1224
- ==================
1225
-
1226
- * add total number of passes and failures to TAP
1227
- * remove .bind() calls. re #680
1228
- * fix indexOf. Closes #680
1229
-
1230
- 1.7.3 / 2012-11-30
1231
- ==================
1232
-
1233
- * fix uncaught error support for the browser
1234
- * revert uncaught "fix" which breaks node
1235
-
1236
- 1.7.2 / 2012-11-28
1237
- ==================
1238
-
1239
- * fix uncaught errors to expose the original error message
1240
-
1241
- 1.7.0 / 2012-11-07
1242
- ==================
1243
-
1244
- * add `--async-only` support to prevent false positives for missing `done()`
1245
- * add sorting by filename in code coverage
1246
- * add HTML 5 doctype to browser template.
1247
- * add play button to html reporter to rerun a single test
1248
- * add `this.timeout(ms)` as Suite#timeout(ms). Closes #599
1249
- * update growl dependency to 1.6.x
1250
- * fix encoding of test-case ?grep. Closes #637
1251
- * fix unicode chars on windows
1252
- * fix dom globals in Opera/IE. Closes #243
1253
- * fix markdown reporter a tags
1254
- * fix `this.timeout("5s")` support
1255
-
1256
- 1.6.0 / 2012-10-02
1257
- ==================
1258
-
1259
- * add object diffs when `err.showDiff` is present
1260
- * add hiding of empty suites when pass/failures are toggled
1261
- * add faster `.length` checks to `checkGlobals()` before performing the filter
1262
-
1263
- 1.5.0 / 2012-09-21
1264
- ==================
1265
-
1266
- * add `ms()` to `.slow()` and `.timeout()`
1267
- * add `Mocha#checkLeaks()` to re-enable global leak checks
1268
- * add `this.slow()` option [aheckmann]
1269
- * add tab, CR, LF to error diffs for now
1270
- * add faster `.checkGlobals()` solution [guille]
1271
- * remove `fn.call()` from reduce util
1272
- * remove `fn.call()` from filter util
1273
- * fix forEach. Closes #582
1274
- * fix relaying of signals [TooTallNate]
1275
- * fix TAP reporter grep number
1276
-
1277
- 1.4.2 / 2012-09-01
1278
- ==================
1279
-
1280
- * add support to multiple `Mocha#globals()` calls, and strings
1281
- * add `mocha.reporter()` constructor support [jfirebaugh]
1282
- * add `mocha.timeout()`
1283
- * move query-string parser to utils.js
1284
- * move highlight code to utils.js
1285
- * fix third-party reporter support [exogen]
1286
- * fix client-side API to match node-side [jfirebaugh]
1287
- * fix mocha in iframe [joliss]
1288
-
1289
- 1.4.1 / 2012-08-28
1290
- ==================
1291
-
1292
- * add missing `Markdown` export
1293
- * fix `Mocha#grep()`, escape regexp strings
1294
- * fix reference error when `devicePixelRatio` is not defined. Closes #549
1295
-
1296
- 1.4.0 / 2012-08-22
1297
- ==================
1298
-
1299
- * add mkdir -p to `mocha init`. Closes #539
1300
- * add `.only()`. Closes #524
1301
- * add `.skip()`. Closes #524
1302
- * change str.trim() to use utils.trim(). Closes #533
1303
- * fix HTML progress indicator retina display
1304
- * fix url-encoding of click-to-grep HTML functionality
1305
-
1306
- 1.3.2 / 2012-08-01
1307
- ==================
1308
-
1309
- * fix exports double-execution regression. Closes #531
1310
-
1311
- 1.3.1 / 2012-08-01
1312
- ==================
1313
-
1314
- * add passes/failures toggling to HTML reporter
1315
- * add pending state to `xit()` and `xdescribe()` [Brian Moore]
1316
- * add the @charset "UTF-8"; to fix #522 with FireFox. [Jonathan Creamer]
1317
- * add border-bottom to #stats links
1318
- * add check for runnable in `Runner#uncaught()`. Closes #494
1319
- * add 0.4 and 0.6 back to travis.yml
1320
- * add `-E, --growl-errors` to growl on failures only
1321
- * add prefixes to debug() names. Closes #497
1322
- * add `Mocha#invert()` to js api
1323
- * change dot reporter to use sexy unicode dots
1324
- * fix error when clicking pending test in HTML reporter
1325
- * fix `make tm`
1326
-
1327
- 1.3.0 / 2012-07-05
1328
- ==================
1329
-
1330
- * add window scrolling to `HTML` reporter
1331
- * add v8 `--trace-*` option support
1332
- * add support for custom reports via `--reporter MODULE`
1333
- * add `--invert` switch to invert `--grep` matches
1334
- * fix export of `Nyan` reporter. Closes #495
1335
- * fix escaping of `HTML` suite titles. Closes #486
1336
- * fix `done()` called multiple times with an error test
1337
- * change `--grep` - regexp escape the input
1338
-
1339
- 1.2.2 / 2012-06-28
1340
- ==================
1341
-
1342
- * Added 0.8.0 support
1343
-
1344
- 1.2.1 / 2012-06-25
1345
- ==================
1346
-
1347
- * Added `this.test.error(err)` support to after each hooks. Closes #287
1348
- * Added: export top-level suite on global mocha object (mocha.suite). Closes #448
1349
- * Fixed `js` code block format error in markdown reporter
1350
- * Fixed deprecation warning when using `path.existsSync`
1351
- * Fixed --globals with wildcard
1352
- * Fixed chars in nyan when his head moves back
1353
- * Remove `--growl` from test/mocha.opts. Closes #289
1354
-
1355
- 1.2.0 / 2012-06-17
1356
- ==================
1357
-
1358
- * Added `nyan` reporter [Atsuya Takagi]
1359
- * Added `mocha init <path>` to copy client files
1360
- * Added "specify" synonym for "it" [domenic]
1361
- * Added global leak wildcard support [nathanbowser]
1362
- * Fixed runner emitter leak. closes #432
1363
- * Fixed omission of .js extension. Closes #454
1364
-
1365
- 1.1.0 / 2012-05-30
1366
- ==================
1367
-
1368
- * Added: check each `mocha(1)` arg for directories to walk
1369
- * Added `--recursive` [tricknotes]
1370
- * Added `context` for BDD [hokaccha]
1371
- * Added styling for new clickable titles
1372
- * Added clickable suite titles to HTML reporter
1373
- * Added warning when strings are thrown as errors
1374
- * Changed: green arrows again in HTML reporter styling
1375
- * Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
1376
- * Fixed issue #325 - add better grep support to js api
1377
- * Fixed: save timer references to avoid Sinon interfering.
1378
-
1379
- 1.0.3 / 2012-04-30
1380
- ==================
1381
-
1382
- * Fixed string diff newlines
1383
- * Fixed: removed mocha.css target. Closes #401
1384
-
1385
- 1.0.2 / 2012-04-25
1386
- ==================
1387
-
1388
- * Added HTML reporter duration. Closes #47
1389
- * Fixed: one postMessage event listener [exogen]
1390
- * Fixed: allow --globals to be used multiple times. Closes #100 [brendannee]
1391
- * Fixed #158: removes jquery include from browser tests
1392
- * Fixed grep. Closes #372 [brendannee]
1393
- * Fixed #166 - When grepping don't display the empty suites
1394
- * Removed test/browser/style.css. Closes #385
1395
-
1396
- 1.0.1 / 2012-04-04
1397
- ==================
1398
-
1399
- * Fixed `.timeout()` in hooks
1400
- * Fixed: allow callback for `mocha.run()` in client version
1401
- * Fixed browser hook error display. Closes #361
1402
-
1403
- 1.0.0 / 2012-03-24
1404
- ==================
1405
-
1406
- * Added js API. Closes #265
1407
- * Added: initial run of tests with `--watch`. Closes #345
1408
- * Added: mark `location` as a global on the CS. Closes #311
1409
- * Added `markdown` reporter (github flavour)
1410
- * Added: scrolling menu to coverage.html. Closes #335
1411
- * Added source line to html report for Safari [Tyson Tate]
1412
- * Added "min" reporter, useful for `--watch` [Jakub Nešetřil]
1413
- * Added support for arbitrary compilers via . Closes #338 [Ian Young]
1414
- * Added Teamcity export to lib/reporters/index [Michael Riley]
1415
- * Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
1416
- * Fixed terrible FF / Opera stack traces
1417
-
1418
- 0.14.1 / 2012-03-06
1419
- ==================
1420
-
1421
- * Added lib-cov to _.npmignore_
1422
- * Added reporter to `mocha.run([reporter])` as argument
1423
- * Added some margin-top to the HTML reporter
1424
- * Removed jQuery dependency
1425
- * Fixed `--watch`: purge require cache. Closes #266
1426
-
1427
- 0.14.0 / 2012-03-01
1428
- ==================
1429
-
1430
- * Added string diff support for terminal reporters
1431
-
1432
- 0.13.0 / 2012-02-23
1433
- ==================
1434
-
1435
- * Added preliminary test coverage support. Closes #5
1436
- * Added `HTMLCov` reporter
1437
- * Added `JSONCov` reporter [kunklejr]
1438
- * Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs * Changed: make json reporter output pretty json
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
- ==================
1494
-
1495
- * Fixed reporting of uncaught exceptions. Closes #183
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
- ==================
1512
-
1513
- * Removed `mocha-debug(1)`, use `mocha --debug`
1514
- * Fixed CWD relative requires
1515
- * Fixed growl issue on windows [Raynos]
1516
- * Fixed: platform specific line endings [TooTallNate]
1517
- * Fixed: escape strings in HTML reporter. Closes #164
1518
-
1519
- 0.7.0 / 2011-12-18
1520
- ==================
1521
-
1522
- * Added support for IE{7,8} [guille]
1523
- * Changed: better browser nextTick implementation [guille]
1524
-
1525
- 0.6.0 / 2011-12-18
1526
- ==================
1527
-
1528
- * Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
1529
- * Added "view source" on hover for HTML reporter to make it obvious
1530
- * Changed: replace custom growl with growl lib
1531
- * Fixed duplicate reporting for HTML reporter. Closes #154
1532
- * Fixed silent hook errors in the HTML reporter. Closes #150
1533
-
1534
- 0.5.0 / 2011-12-14
1535
- ==================
1536
-
1537
- * Added: push node_modules directory onto module.paths for relative require Closes #93
1538
- * Added teamcity reporter [blindsey]
1539
- * Fixed: recover from uncaught exceptions for tests. Closes #94
1540
- * Fixed: only emit "test end" for uncaught within test, not hook
1541
-
1542
- 0.4.0 / 2011-12-14
1543
- ==================
1544
-
1545
- * Added support for test-specific timeouts via `this.timeout(0)`. Closes #134
1546
- * Added guillermo's client-side EventEmitter. Closes #132
1547
- * Added progress indicator to the HTML reporter
1548
- * Fixed slow browser tests. Closes #135
1549
- * Fixed "suite" color for light terminals
1550
- * Fixed `require()` leak spotted by [guillermo]
1551
-
1552
- 0.3.6 / 2011-12-09
1553
- ==================
1554
-
1555
- * Removed suite merging (for now)
1556
-
1557
- 0.3.5 / 2011-12-08
1558
- ==================
1559
-
1560
- * Added support for `window.onerror` [guillermo]
1561
- * Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo]
1562
- * Added `mocha.css` to PHONY list.
1563
- * Added `mocha.js` to PHONY list.
1564
-
1565
- 0.3.4 / 2011-12-08
1566
- ==================
1567
-
1568
- * Added: allow `done()` to be called with non-Error
1569
- * Added: return Runner from `mocha.run()`. Closes #126
1570
- * Fixed: run afterEach even on failures. Closes #125
1571
- * Fixed clobbering of current runnable. Closes #121
1572
-
1573
- 0.3.3 / 2011-12-08
1574
- ==================
1575
-
1576
- * Fixed hook timeouts. Closes #120
1577
- * Fixed uncaught exceptions in hooks
1578
-
1579
- 0.3.2 / 2011-12-05
1580
- ==================
1581
-
1582
- * Fixed weird reporting when `err.message` is not present
1583
-
1584
- 0.3.1 / 2011-12-04
1585
- ==================
1586
-
1587
- * Fixed hook event emitter leak. Closes #117
1588
- * Fixed: export `Spec` constructor. Closes #116
1589
-
1590
- 0.3.0 / 2011-12-04
1591
- ==================
1592
-
1593
- * Added `-w, --watch`. Closes #72
1594
- * Added `--ignore-leaks` to ignore global leak checking
1595
- * Added browser `?grep=pattern` support
1596
- * Added `--globals <names>` to specify accepted globals. Closes #99
1597
- * Fixed `mocha-debug(1)` on some systems. Closes #232
1598
- * Fixed growl total, use `runner.total`
1599
-
1600
- 0.2.0 / 2011-11-30
1601
- ==================
1602
-
1603
- * Added `--globals <names>` to specify accepted globals. Closes #99
1604
- * Fixed funky highlighting of messages. Closes #97
1605
- * Fixed `mocha-debug(1)`. Closes #232
1606
- * Fixed growl total, use runner.total
1607
-
1608
- 0.1.0 / 2011-11-29
1609
- ==================
1610
-
1611
- * Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
1612
- * Added growl icons. Closes #84
1613
- * Fixed coffee-script support
1614
-
1615
- 0.0.8 / 2011-11-25
1616
- ==================
1617
-
1618
- * Fixed: use `Runner#total` for accurate reporting
1619
-
1620
- 0.0.7 / 2011-11-25
1621
- ==================
1622
-
1623
- * Added `Hook`
1624
- * Added `Runnable`
1625
- * Changed: `Test` is `Runnable`
1626
- * Fixed global leak reporting in hooks
1627
- * Fixed: > 2 calls to done() only report the error once
1628
- * Fixed: clear timer on failure. Closes #80
1629
-
1630
- 0.0.6 / 2011-11-25
1631
- ==================
1632
-
1633
- * Fixed return on immediate async error. Closes #80
1634
-
1635
- 0.0.5 / 2011-11-24
1636
- ==================
1637
-
1638
- * Fixed: make mocha.opts whitespace less picky [kkaefer]
1639
-
1640
- 0.0.4 / 2011-11-24
1641
- ==================
1642
-
1643
- * Added `--interfaces`
1644
- * Added `--reporters`
1645
- * Added `-c, --colors`. Closes #69
1646
- * Fixed hook timeouts
1647
-
1648
- 0.0.3 / 2011-11-23
1649
- ==================
1650
-
1651
- * Added `-C, --no-colors` to explicitly disable
1652
- * Added coffee-script support
1653
-
1654
- 0.0.2 / 2011-11-22
1655
- ==================
1656
-
1657
- * Fixed global leak detection due to Safari bind() change
1658
- * Fixed: escape html entities in Doc reporter
1659
- * Fixed: escape html entities in HTML reporter
1660
- * Fixed pending test support for HTML reporter. Closes #66
1661
-
1662
- 0.0.1 / 2011-11-22
1663
- ==================
1664
-
1665
- * Added `--timeout` second shorthand support, ex `--timeout 3s`.
1666
- * Fixed "test end" event for uncaughtExceptions. Closes #61
1667
-
1668
- 0.0.1-alpha6 / 2011-11-19
1669
- ==================
1670
-
1671
- * Added travis CI support (needs enabling when public)
1672
- * Added preliminary browser support
1673
- * Added `make mocha.css` target. Closes #45
1674
- * Added stack trace to TAP errors. Closes #52
1675
- * Renamed tearDown to teardown. Closes #49
1676
- * Fixed: cascading hooksc. Closes #30
1677
- * Fixed some colors for non-tty
1678
- * Fixed errors thrown in sync test-cases due to nextTick
1679
- * Fixed Base.window.width... again give precedence to 0.6.x
1680
-
1681
- 0.0.1-alpha5 / 2011-11-17
1682
- ==================
1683
-
1684
- * Added `doc` reporter. Closes #33
1685
- * Added suite merging. Closes #28
1686
- * Added TextMate bundle and `make tm`. Closes #20
1687
-
1688
- 0.0.1-alpha4 / 2011-11-15
1689
- ==================
1690
-
1691
- * Fixed getWindowSize() for 0.4.x
1692
-
1693
- 0.0.1-alpha3 / 2011-11-15
1694
- ==================
1695
-
1696
- * Added `-s, --slow <ms>` to specify "slow" test threshold
1697
- * Added `mocha-debug(1)`
1698
- * Added `mocha.opts` support. Closes #31
1699
- * Added: default [files] to _test/*.js_
1700
- * Added protection against multiple calls to `done()`. Closes #35
1701
- * Changed: bright yellow for slow Dot reporter tests
1702
-
1703
- 0.0.1-alpha1 / 2011-11-08
1704
- ==================
1705
-
1706
- * Missed this one :)
1707
-
1708
- 0.0.1-alpha1 / 2011-11-08
1709
- ==================
1710
-
1711
- * Initial release