mocha 5.1.1 → 6.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 +686 -984
- package/README.md +2 -1
- package/{images → assets/growl}/error.png +0 -0
- package/{images → assets/growl}/ok.png +0 -0
- package/bin/_mocha +4 -595
- package/bin/mocha +121 -61
- package/bin/options.js +6 -39
- package/browser-entry.js +21 -17
- package/lib/browser/growl.js +165 -2
- package/lib/browser/progress.js +11 -11
- package/lib/{template.html → browser/template.html} +0 -0
- package/lib/browser/tty.js +2 -2
- package/lib/cli/cli.js +68 -0
- package/lib/cli/commands.js +13 -0
- package/lib/cli/config.js +79 -0
- package/lib/cli/index.js +9 -0
- package/lib/cli/init.js +37 -0
- package/lib/cli/node-flags.js +69 -0
- package/lib/cli/one-and-dones.js +70 -0
- package/lib/cli/options.js +330 -0
- package/lib/cli/run-helpers.js +337 -0
- package/lib/cli/run-option-metadata.js +76 -0
- package/lib/cli/run.js +297 -0
- package/lib/context.js +14 -14
- package/lib/errors.js +141 -0
- package/lib/growl.js +136 -0
- package/lib/hook.js +5 -16
- package/lib/interfaces/bdd.js +16 -13
- package/lib/interfaces/common.js +62 -18
- package/lib/interfaces/exports.js +5 -8
- package/lib/interfaces/qunit.js +10 -10
- package/lib/interfaces/tdd.js +12 -11
- package/lib/mocha.js +477 -256
- package/lib/mocharc.json +10 -0
- package/lib/pending.js +1 -5
- package/lib/reporters/base.js +95 -117
- package/lib/reporters/doc.js +23 -9
- package/lib/reporters/dot.js +19 -13
- package/lib/reporters/html.js +82 -47
- package/lib/reporters/json-stream.js +43 -23
- package/lib/reporters/json.js +32 -23
- package/lib/reporters/landing.js +16 -9
- package/lib/reporters/list.js +19 -11
- package/lib/reporters/markdown.js +18 -12
- package/lib/reporters/min.js +8 -4
- package/lib/reporters/nyan.js +42 -35
- package/lib/reporters/progress.js +12 -7
- package/lib/reporters/spec.js +23 -12
- package/lib/reporters/tap.js +250 -32
- package/lib/reporters/xunit.js +61 -35
- package/lib/runnable.js +152 -95
- package/lib/runner.js +296 -248
- package/lib/stats-collector.js +83 -0
- package/lib/suite.js +294 -75
- package/lib/test.js +16 -15
- package/lib/utils.js +419 -146
- package/mocha.js +4589 -2228
- package/package.json +137 -38
- package/lib/ms.js +0 -94
- package/lib/reporters/base.js.orig +0 -498
- package/lib/reporters/json.js.orig +0 -128
package/CHANGELOG.md
CHANGED
|
@@ -1,88 +1,231 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 6.0.0 / 2019-02-18
|
|
2
|
+
|
|
3
|
+
## :tada: Enhancements
|
|
4
|
+
|
|
5
|
+
- [#3726](https://github.com/mochajs/mocha/issues/3726): Add ability to unload files from `require` cache ([**@plroebuck**](https://github.com/plroebuck))
|
|
2
6
|
|
|
3
7
|
## :bug: Fixes
|
|
4
8
|
|
|
5
|
-
- [#
|
|
9
|
+
- [#3737](https://github.com/mochajs/mocha/issues/3737): Fix falsy values from options globals ([**@plroebuck**](https://github.com/plroebuck))
|
|
10
|
+
- [#3707](https://github.com/mochajs/mocha/issues/3707): Fix encapsulation issues for `Suite#_onlyTests` and `Suite#_onlySuites` ([**@vkarpov15**](https://github.com/vkarpov15))
|
|
11
|
+
- [#3711](https://github.com/mochajs/mocha/issues/3711): Fix diagnostic messages dealing with plurality and markup of output ([**@plroebuck**](https://github.com/plroebuck))
|
|
12
|
+
- [#3723](https://github.com/mochajs/mocha/issues/3723): Fix "reporter-option" to allow comma-separated options ([**@boneskull**](https://github.com/boneskull))
|
|
13
|
+
- [#3722](https://github.com/mochajs/mocha/issues/3722): Fix code quality and performance of `lookupFiles` and `files` ([**@plroebuck**](https://github.com/plroebuck))
|
|
14
|
+
- [#3650](https://github.com/mochajs/mocha/issues/3650), [#3654](https://github.com/mochajs/mocha/issues/3654): Fix noisy error message when no files found ([**@craigtaub**](https://github.com/craigtaub))
|
|
15
|
+
- [#3632](https://github.com/mochajs/mocha/issues/3632): Tests having an empty title are no longer confused with the "root" suite ([**@juergba**](https://github.com/juergba))
|
|
16
|
+
- [#3666](https://github.com/mochajs/mocha/issues/3666): Fix missing error codes ([**@vkarpov15**](https://github.com/vkarpov15))
|
|
17
|
+
- [#3684](https://github.com/mochajs/mocha/issues/3684): Fix exiting problem in Node.js v11.7.0+ ([**@addaleax**](https://github.com/addaleax))
|
|
18
|
+
- [#3691](https://github.com/mochajs/mocha/issues/3691): Fix `--delay` (and other boolean options) not working in all cases ([**@boneskull**](https://github.com/boneskull))
|
|
19
|
+
- [#3692](https://github.com/mochajs/mocha/issues/3692): Fix invalid command-line argument usage not causing actual errors ([**@boneskull**](https://github.com/boneskull))
|
|
20
|
+
- [#3698](https://github.com/mochajs/mocha/issues/3698), [#3699](https://github.com/mochajs/mocha/issues/3699): Fix debug-related Node.js options not working in all cases ([**@boneskull**](https://github.com/boneskull))
|
|
21
|
+
- [#3700](https://github.com/mochajs/mocha/issues/3700): Growl notifications now show the correct number of tests run ([**@outsideris**](https://github.com/outsideris))
|
|
22
|
+
- [#3686](https://github.com/mochajs/mocha/issues/3686): Avoid potential ReDoS when diffing large objects ([**@cyjake**](https://github.com/cyjake))
|
|
23
|
+
- [#3715](https://github.com/mochajs/mocha/issues/3715): Fix incorrect order of emitted events when used programmatically ([**@boneskull**](https://github.com/boneskull))
|
|
24
|
+
- [#3706](https://github.com/mochajs/mocha/issues/3706): Fix regression wherein `--reporter-option`/`--reporter-options` did not support comma-separated key/value pairs ([**@boneskull**](https://github.com/boneskull))
|
|
6
25
|
|
|
7
|
-
|
|
26
|
+
## :book: Documentation
|
|
8
27
|
|
|
9
|
-
#
|
|
28
|
+
- [#3652](https://github.com/mochajs/mocha/issues/3652): Switch from Jekyll to Eleventy ([**@Munter**](https://github.com/Munter))
|
|
29
|
+
|
|
30
|
+
## :nut_and_bolt: Other
|
|
31
|
+
|
|
32
|
+
- [#3677](https://github.com/mochajs/mocha/issues/3677): Add error objects for createUnsupportedError and createInvalidExceptionError ([**@boneskull**](https://github.com/boneskull))
|
|
33
|
+
- [#3733](https://github.com/mochajs/mocha/issues/3733): Removed unnecessary processing in post-processing hook ([**@wanseob**](https://github.com/wanseob))
|
|
34
|
+
- [#3730](https://github.com/mochajs/mocha/issues/3730): Update nyc to latest version ([**@coreyfarrell**](https://github.com/coreyfarrell))
|
|
35
|
+
- [#3648](https://github.com/mochajs/mocha/issues/3648), [#3680](https://github.com/mochajs/mocha/issues/3680): Fixes to support latest versions of [unexpected](https://npm.im/unexpected) and [unexpected-sinon](https://npm.im/unexpected-sinon) ([**@sunesimonsen**](https://github.com/sunesimonsen))
|
|
36
|
+
- [#3638](https://github.com/mochajs/mocha/issues/3638): Add meta tag to site ([**@MartijnCuppens**](https://github.com/MartijnCuppens))
|
|
37
|
+
- [#3653](https://github.com/mochajs/mocha/issues/3653): Fix parts of test suite failing to run on Windows ([**@boneskull**](https://github.com/boneskull))
|
|
38
|
+
|
|
39
|
+
# 6.0.0-1 / 2019-01-02
|
|
40
|
+
|
|
41
|
+
## :bug: Fixes
|
|
42
|
+
|
|
43
|
+
- Fix missing `mocharc.json` in published package ([**@boneskull**](https://github.com/boneskull))
|
|
44
|
+
|
|
45
|
+
# 6.0.0-0 / 2019-01-01
|
|
46
|
+
|
|
47
|
+
**Documentation for this release can be found at [next.mochajs.org](https://next.mochajs.org)**!
|
|
48
|
+
|
|
49
|
+
Welcome [**@plroebuck**](https://github.com/plroebuck), [**@craigtaub**](https://github.com/craigtaub), & [**@markowsiak**](https://github.com/markowsiak) to the team!
|
|
50
|
+
|
|
51
|
+
## :boom: Breaking Changes
|
|
52
|
+
|
|
53
|
+
- [#3149](https://github.com/mochajs/mocha/issues/3149): **Drop Node.js v4.x support** ([**@outsideris**](https://github.com/outsideris))
|
|
54
|
+
- [#3556](https://github.com/mochajs/mocha/issues/3556): Changes to command-line options ([**@boneskull**](https://github.com/boneskull)):
|
|
55
|
+
- `--grep` and `--fgrep` are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring `--grep`
|
|
56
|
+
- `--compilers` is no longer supported; attempting to use will cause Mocha to fail with a link to more information
|
|
57
|
+
- `-d` is no longer an alias for `--debug`; `-d` is currently ignored
|
|
58
|
+
- [#3275](https://github.com/mochajs/mocha/issues/3275): `--watch-extensions` no longer implies `js`; it must be explicitly added ([**@TheDancingCode**](https://github.com/TheDancingCode))
|
|
59
|
+
- [#2908](https://github.com/mochajs/mocha/issues/2908): `tap` reporter emits error messages ([**@chrmod**](https://github.com/chrmod))
|
|
60
|
+
- [#2819](https://github.com/mochajs/mocha/issues/2819): When conditionally skipping in a `before` hook, subsequent `before` hooks _and_ tests in nested suites are now skipped ([**@bannmoore**](https://github.com/bannmoore))
|
|
61
|
+
- [#627](https://github.com/mochajs/mocha/issues/627): Emit filepath in "timeout exceeded" exceptions where applicable ([**@boneskull**](https://github.com/boneskull))
|
|
62
|
+
- [#3556](https://github.com/mochajs/mocha/issues/3556): `lib/template.html` has moved to `lib/browser/template.html` ([**@boneskull**](https://github.com/boneskull))
|
|
63
|
+
- [#2576](https://github.com/mochajs/mocha/issues/2576): An exception is now thrown if Mocha fails to parse or find a `mocha.opts` at a user-specified path ([**@plroebuck**](https://github.com/plroebuck))
|
|
64
|
+
- [#3458](https://github.com/mochajs/mocha/issues/3458): Instantiating a `Base`-extending reporter without a `Runner` parameter will throw an exception ([**@craigtaub**](https://github.com/craigtaub))
|
|
65
|
+
- [#3125](https://github.com/mochajs/mocha/issues/3125): For consumers of Mocha's programmatic API, all exceptions thrown from Mocha now have a `code` property (and some will have additional metadata). Some `Error` messages have changed. **Please use the `code` property to check `Error` types instead of the `message` property**; these descriptions will be localized in the future. ([**@craigtaub**](https://github.com/craigtaub))
|
|
66
|
+
|
|
67
|
+
## :fax: Deprecations
|
|
68
|
+
|
|
69
|
+
These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
|
|
70
|
+
|
|
71
|
+
- `-gc` users should use `--gc-global` instead
|
|
72
|
+
- Consumers of the function exported by `bin/options` should now use the `loadMochaOpts` or `loadOptions` (preferred) functions exported by the `lib/cli/options` module
|
|
73
|
+
|
|
74
|
+
Regarding the `Mocha` class constructor (from `lib/mocha`):
|
|
75
|
+
|
|
76
|
+
- Use property `color: false` instead of `useColors: false`
|
|
77
|
+
- Use property `timeout: false` instead of `enableTimeouts: false`
|
|
78
|
+
|
|
79
|
+
All of the above deprecations were introduced by [#3556](https://github.com/mochajs/mocha/issues/3556).
|
|
80
|
+
|
|
81
|
+
`mocha.opts` is now considered "legacy"; please prefer RC file or `package.json` over `mocha.opts`.
|
|
10
82
|
|
|
11
83
|
## :tada: Enhancements
|
|
12
84
|
|
|
13
|
-
|
|
85
|
+
Enhancements introduced in [#3556](https://github.com/mochajs/mocha/issues/3556):
|
|
86
|
+
|
|
87
|
+
- Mocha now supports "RC" files in JS, JSON, YAML, or `package.json`-based (using `mocha` property) format
|
|
88
|
+
- `.mocharc.js`, `.mocharc.json`, `.mocharc.yaml` or `.mocharc.yml` are valid "rc" file names and will be automatically loaded
|
|
89
|
+
- Use `--config /path/to/rc/file` to specify an explicit path
|
|
90
|
+
- Use `--package /path/to/package.json` to specify an explicit `package.json` to read the `mocha` prop from
|
|
91
|
+
- Use `--no-config` or `--no-package` to completely disable loading of configuration via RC file and `package.json`, respectively
|
|
92
|
+
- Configurations are merged as applicable using the priority list:
|
|
93
|
+
1. Command-line arguments
|
|
94
|
+
1. RC file
|
|
95
|
+
1. `package.json`
|
|
96
|
+
1. `mocha.opts`
|
|
97
|
+
1. Mocha's own defaults
|
|
98
|
+
- Check out these [example config files](https://github.com/mochajs/mocha/tree/master/example/config)
|
|
99
|
+
|
|
100
|
+
- Node/V8 flag support in `mocha` executable:
|
|
101
|
+
- Support all allowed `node` flags as supported by the running version of `node` (also thanks to [**@demurgos**](https://github.com/demurgos))
|
|
102
|
+
- Support any V8 flag by prepending `--v8-` to the flag name
|
|
103
|
+
- All flags are also supported via config files, `package.json` properties, or `mocha.opts`
|
|
104
|
+
- Debug-related flags (e.g., `--inspect`) now _imply_ `--no-timeouts`
|
|
105
|
+
- Use of e.g., `--debug` will automatically invoke `--inspect` if supported by running version of `node`
|
|
106
|
+
|
|
107
|
+
- Support negation of any Mocha-specific command-line flag by prepending `--no-` to the flag name
|
|
108
|
+
|
|
109
|
+
- Interfaces now have descriptions when listed using `--interfaces` flag
|
|
110
|
+
|
|
111
|
+
- `Mocha` constructor supports all options
|
|
112
|
+
|
|
113
|
+
- `--extension` is now an alias for `--watch-extensions` and affects _non-watch-mode_ test runs as well. For example, to run _only_ `test/*.coffee` (not `test/*.js`), you can do `mocha --require coffee-script/register --extensions coffee`.
|
|
114
|
+
|
|
115
|
+
- [#3552](https://github.com/mochajs/mocha/issues/3552): `tap` reporter is now TAP13-capable ([**@plroebuck**](https://github.com/plroebuck) & [**@mollstam**](https://github.com/mollstam))
|
|
116
|
+
|
|
117
|
+
- [#3535](https://github.com/mochajs/mocha/issues/3535): Mocha's version can now be queried programmatically via public property `Mocha.prototype.version` ([**@plroebuck**](https://github.com/plroebuck))
|
|
118
|
+
|
|
119
|
+
- [#3428](https://github.com/mochajs/mocha/issues/3428): `xunit` reporter shows diffs ([**@mlucool**](https://github.com/mlucool))
|
|
120
|
+
|
|
121
|
+
- [#2529](https://github.com/mochajs/mocha/issues/2529): `Runner` now emits a `retry` event when tests are retried (reporters can listen for this) ([**@catdad**](https://github.com/catdad))
|
|
122
|
+
|
|
123
|
+
- [#2962](https://github.com/mochajs/mocha/issues/2962), [#3111](https://github.com/mochajs/mocha/issues/3111): In-browser notification support; warn about missing prereqs when `--growl` supplied ([**@plroebuck**](https://github.com/plroebuck))
|
|
14
124
|
|
|
15
125
|
## :bug: Fixes
|
|
16
126
|
|
|
17
|
-
- [#
|
|
127
|
+
- [#3356](https://github.com/mochajs/mocha/issues/3356): `--no-timeouts` and `--timeout 0` now does what you'd expect ([**@boneskull**](https://github.com/boneskull))
|
|
128
|
+
- [#3475](https://github.com/mochajs/mocha/issues/3475): Restore `--no-exit` option ([**@boneskull**](https://github.com/boneskull))
|
|
129
|
+
- [#3570](https://github.com/mochajs/mocha/issues/3570): Long-running tests now respect `SIGINT` ([**@boneskull**](https://github.com/boneskull))
|
|
130
|
+
- [#2944](https://github.com/mochajs/mocha/issues/2944): `--forbid-only` and `--forbid-pending` now "fail fast" when encountered on a suite ([**@outsideris**](https://github.com/outsideris))
|
|
131
|
+
- [#1652](https://github.com/mochajs/mocha/issues/1652), [#2951](https://github.com/mochajs/mocha/issues/2951): Fix broken clamping of timeout values ([**@plroebuck**](https://github.com/plroebuck))
|
|
132
|
+
- [#2753](https://github.com/mochajs/mocha/issues/2753): `start` and `end` events now emitted properly from `Runner` instance when using Mocha programmatically ([**@outsideris**](https://github.com/outsideris))
|
|
133
|
+
- [#2095](https://github.com/mochajs/mocha/issues/2095), [#3521](https://github.com/mochajs/mocha/issues/3521): Do not log `stdout:` prefix in browser console ([**@Bamieh**](https://github.com/Bamieh))
|
|
134
|
+
- [#3595](https://github.com/mochajs/mocha/issues/3595): Fix mochajs.org deployment problems ([**@papandreou**](https://github.com/papandreou))
|
|
135
|
+
- [#3518](https://github.com/mochajs/mocha/issues/3518): Improve `utils.isPromise()` ([**@fabiosantoscode**](https://github.com/fabiosantoscode))
|
|
136
|
+
- [#3320](https://github.com/mochajs/mocha/issues/3320): Fail gracefully when non-extensible objects are thrown in async tests ([**@fargies**](https://github.com/fargies))
|
|
137
|
+
- [#2475](https://github.com/mochajs/mocha/issues/2475): XUnit does not duplicate test result numbers in "errors" and "failures"; "failures" will **always** be zero ([**@mlucool**](https://github.com/mlucool))
|
|
138
|
+
- [#3398](https://github.com/mochajs/mocha/issues/3398), [#3598](https://github.com/mochajs/mocha/issues/3598), [#3457](https://github.com/mochajs/mocha/issues/3457), [#3617](https://github.com/mochajs/mocha/issues/3617): Fix regression wherein `--bail` would not execute "after" nor "after each" hooks ([**@juergba**](https://github.com/juergba))
|
|
139
|
+
- [#3580](https://github.com/mochajs/mocha/issues/3580): Fix potential exception when using XUnit reporter programmatically ([**@Lana-Light**](https://github.com/Lana-Light))
|
|
140
|
+
- [#1304](https://github.com/mochajs/mocha/issues/1304): Do not output color to `TERM=dumb` ([**@plroebuck**](https://github.com/plroebuck))
|
|
18
141
|
|
|
19
142
|
## :book: Documentation
|
|
20
143
|
|
|
21
|
-
- [#
|
|
22
|
-
- [#
|
|
144
|
+
- [#3525](https://github.com/mochajs/mocha/issues/3525): Improvements to `.github/CONTRIBUTING.md` ([**@markowsiak**](https://github.com/markowsiak))
|
|
145
|
+
- [#3466](https://github.com/mochajs/mocha/issues/3466): Update description of `slow` option ([**@finfin**](https://github.com/finfin))
|
|
146
|
+
- [#3405](https://github.com/mochajs/mocha/issues/3405): Remove references to bower installations ([**@goteamtim**](https://github.com/goteamtim))
|
|
147
|
+
- [#3361](https://github.com/mochajs/mocha/issues/3361): Improvements to `--watch` docs ([**@benglass**](https://github.com/benglass))
|
|
148
|
+
- [#3136](https://github.com/mochajs/mocha/issues/3136): Improve docs around globbing and shell expansion ([**@akrawchyk**](https://github.com/akrawchyk))
|
|
149
|
+
- [#2819](https://github.com/mochajs/mocha/issues/2819): Update docs around skips and hooks ([**@bannmoore**](https://github.com/bannmoore))
|
|
150
|
+
- Many improvements by [**@outsideris**](https://github.com/outsideris)
|
|
23
151
|
|
|
24
152
|
## :nut_and_bolt: Other
|
|
25
153
|
|
|
26
|
-
- [#
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
[#3210]: https://github.com/mochajs/mocha/pull/3210
|
|
30
|
-
[#3318]: https://github.com/mochajs/mocha/pull/3318
|
|
31
|
-
[#3323]: https://github.com/mochajs/mocha/pull/3323
|
|
32
|
-
[#3299]: https://github.com/mochajs/mocha/pull/3299
|
|
33
|
-
[#3302]: https://github.com/mochajs/mocha/pull/3302
|
|
34
|
-
[#3308]: https://github.com/mochajs/mocha/pull/3308
|
|
35
|
-
[#3310]: https://github.com/mochajs/mocha/pull/3310
|
|
36
|
-
[#3315]: https://github.com/mochajs/mocha/pull/3315
|
|
37
|
-
[#3316]: https://github.com/mochajs/mocha/pull/3316
|
|
38
|
-
[#3272]: https://github.com/mochajs/mocha/pull/3272
|
|
39
|
-
[@metalex9]: https://github.com/metalex9
|
|
40
|
-
[@jeversmann]: https://github.com/jeversmann
|
|
41
|
-
[@dfberry]: https://github.com/dfberry
|
|
42
|
-
[@nicgirault]: https://github.com/nicgirault
|
|
43
|
-
[@jMuzsik]: https://github.com/jMuzsik
|
|
154
|
+
- [#3557](https://github.com/mochajs/mocha/issues/3557): Use `ms` userland module instead of hand-rolled solution ([**@gizemkeser**](https://github.com/gizemkeser))
|
|
155
|
+
- Many CI fixes and other refactors by [**@plroebuck**](https://github.com/plroebuck)
|
|
156
|
+
- Test refactors by [**@outsideris**](https://github.com/outsideris)
|
|
44
157
|
|
|
45
|
-
# 5.0
|
|
158
|
+
# 5.2.0 / 2018-05-18
|
|
159
|
+
|
|
160
|
+
## :tada: Enhancements
|
|
46
161
|
|
|
47
|
-
|
|
162
|
+
- [#3375](https://github.com/mochajs/mocha/pull/3375): Add support for comments in `mocha.opts` ([@plroebuck](https://github.com/plroebuck))
|
|
48
163
|
|
|
49
164
|
## :bug: Fixes
|
|
50
165
|
|
|
51
|
-
- [#
|
|
52
|
-
- [#3184]: Don't skip too many suites (using `describe.skip()`) ([@outsideris])
|
|
166
|
+
- [#3346](https://github.com/mochajs/mocha/pull/3346): Exit correctly from `before` hooks when using `--bail` ([@outsideris](https://github.com/outsideris))
|
|
53
167
|
|
|
54
168
|
## :book: Documentation
|
|
55
169
|
|
|
56
|
-
- [#
|
|
57
|
-
- [#3276], [#3274]: Fix broken stuff in `CHANGELOG.md` ([@tagoro9], [@honzajavorek])
|
|
170
|
+
- [#3328](https://github.com/mochajs/mocha/pull/3328): Mocha-flavored [API docs](https://mochajs.org/api/)! ([@Munter](https://github.com/munter))
|
|
58
171
|
|
|
59
172
|
## :nut_and_bolt: Other
|
|
60
173
|
|
|
61
|
-
- [#
|
|
62
|
-
- [#
|
|
63
|
-
- [#
|
|
174
|
+
- [#3330](https://github.com/mochajs/mocha/pull/3330): Use `Buffer.from()` ([@harrysarson](https://github.com/harrysarson))
|
|
175
|
+
- [#3295](https://github.com/mochajs/mocha/pull/3295): Remove redundant folder ([@DavNej](https://github.com/DajNev))
|
|
176
|
+
- [#3356](https://github.com/mochajs/mocha/pull/3356): Refactoring ([@plroebuck](https://github.com/plroebuck))
|
|
177
|
+
|
|
178
|
+
# 5.1.1 / 2018-04-18
|
|
179
|
+
|
|
180
|
+
## :bug: Fixes
|
|
181
|
+
|
|
182
|
+
- [#3325](https://github.com/mochajs/mocha/issues/3325): Revert change which broke `--watch` ([@boneskull](https://github.com/boneskull))
|
|
64
183
|
|
|
65
|
-
|
|
66
|
-
[#3184]: https://github.com/mochajs/mocha/issues/3184
|
|
67
|
-
[#3133]: https://github.com/mochajs/mocha/issues/3133
|
|
68
|
-
[#3276]: https://github.com/mochajs/mocha/pull/3276
|
|
69
|
-
[#3274]: https://github.com/mochajs/mocha/pull/3274
|
|
70
|
-
[#3208]: https://github.com/mochajs/mocha/issues/3208
|
|
71
|
-
[#2952]: https://github.com/mochajs/mocha/issues/2952
|
|
72
|
-
[#3267]: https://github.com/mochajs/mocha/pull/3267
|
|
184
|
+
# 5.1.0 / 2018-04-12
|
|
73
185
|
|
|
74
|
-
|
|
75
|
-
[@tagoro9]: https://github.com/tagoro9
|
|
76
|
-
[@honzajavorek]: https://github.com/honajavorek
|
|
77
|
-
[@anishkny]: https://github.com/anishkny
|
|
186
|
+
## :tada: Enhancements
|
|
78
187
|
|
|
79
|
-
#
|
|
188
|
+
- [#3210](https://github.com/mochajs/mocha/pull/3210): Add `--exclude` option ([@metalex9](https://github.com/metalex9))
|
|
80
189
|
|
|
81
190
|
## :bug: Fixes
|
|
82
191
|
|
|
83
|
-
- [#
|
|
192
|
+
- [#3318](https://github.com/mochajs/mocha/pull/3318): Fix failures in circular objects in JSON reporter ([@jeversmann](https://github.com/jeversmann), [@boneskull](https://github.com/boneskull))
|
|
84
193
|
|
|
85
|
-
|
|
194
|
+
## :book: Documentation
|
|
195
|
+
|
|
196
|
+
- [#3323](https://github.com/mochajs/mocha/pull/3323): Publish actual [API documentation](https://mochajs.org/api/)! ([@dfberry](https://github.com/dfberry), [@Munter](https://github.com/munter))
|
|
197
|
+
- [#3299](https://github.com/mochajs/mocha/pull/3299): Improve docs around exclusive tests ([@nicgirault](https://github.com/nicgirault))
|
|
198
|
+
|
|
199
|
+
## :nut_and_bolt: Other
|
|
200
|
+
|
|
201
|
+
- [#3302](https://github.com/mochajs/mocha/pull/3302), [#3308](https://github.com/mochajs/mocha/pull/3308), [#3310](https://github.com/mochajs/mocha/pull/3310), [#3315](https://github.com/mochajs/mocha/pull/3315), [#3316](https://github.com/mochajs/mocha/pull/3316): Build matrix improvements ([more info](https://boneskull.com/mocha-and-travis-ci-build-stages/)) ([@outsideris](https://github.com/outsideris), [@boneskull](https://github.com/boneskull))
|
|
202
|
+
- [#3272](https://github.com/mochajs/mocha/pull/3272): Refactor reporter tests ([@jMuzsik](https://github.com/jMuzsik))
|
|
203
|
+
|
|
204
|
+
# 5.0.5 / 2018-03-22
|
|
205
|
+
|
|
206
|
+
Welcome [@outsideris](https://github.com/outsideris) to the team!
|
|
207
|
+
|
|
208
|
+
## :bug: Fixes
|
|
209
|
+
|
|
210
|
+
- [#3096](https://github.com/mochajs/mocha/issues/3096): Fix `--bail` failing to bail within hooks ([@outsideris](https://github.com/outsideris))
|
|
211
|
+
- [#3184](https://github.com/mochajs/mocha/issues/3184): Don't skip too many suites (using `describe.skip()`) ([@outsideris](https://github.com/outsideris))
|
|
212
|
+
|
|
213
|
+
## :book: Documentation
|
|
214
|
+
|
|
215
|
+
- [#3133](https://github.com/mochajs/mocha/issues/3133): Improve docs regarding "pending" behavior ([@ematicipo](https://github.com/ematicipo))
|
|
216
|
+
- [#3276](https://github.com/mochajs/mocha/pull/3276), [#3274](https://github.com/mochajs/mocha/pull/3274): Fix broken stuff in `CHANGELOG.md` ([@tagoro9](https://github.com/tagoro9), [@honzajavorek](https://github.com/honzajavorek))
|
|
217
|
+
|
|
218
|
+
## :nut_and_bolt: Other
|
|
219
|
+
|
|
220
|
+
- [#3208](https://github.com/mochajs/mocha/issues/3208): Improve test coverage for AMD users ([@outsideris](https://github.com/outsideris))
|
|
221
|
+
- [#3267](https://github.com/mochajs/mocha/pull/3267): Remove vestiges of PhantomJS from CI ([@anishkny](https://github.com/anishkny))
|
|
222
|
+
- [#2952](https://github.com/mochajs/mocha/issues/2952): Fix a debug message ([@boneskull](https://github.com/boneskull))
|
|
223
|
+
|
|
224
|
+
# 5.0.4 / 2018-03-07
|
|
225
|
+
|
|
226
|
+
## :bug: Fixes
|
|
227
|
+
|
|
228
|
+
- [#3265](https://github.com/mochajs/mocha/issues/3265): Fixes regression in "watch" functionality introduced in v5.0.2 ([@outsideris](https://github.com/outsideris))
|
|
86
229
|
|
|
87
230
|
# 5.0.3 / 2018-03-06
|
|
88
231
|
|
|
@@ -90,27 +233,21 @@ This patch features a fix to address a potential "low severity" [ReDoS vulnerabi
|
|
|
90
233
|
|
|
91
234
|
## :lock: Security Fixes
|
|
92
235
|
|
|
93
|
-
- [#3266]: Bump `diff` to v3.5.0 ([@anishkny])
|
|
236
|
+
- [#3266](https://github.com/mochajs/mocha/pull/3266): Bump `diff` to v3.5.0 ([@anishkny](https://github.com/anishkny))
|
|
94
237
|
|
|
95
238
|
## :nut_and_bolt: Other
|
|
96
239
|
|
|
97
|
-
- [#3011]: Expose `generateDiff()` in `Base` reporter ([@harrysarson])
|
|
98
|
-
|
|
99
|
-
[#3266]: https://github.com/mochajs/mocha/pull/3266
|
|
100
|
-
[#3011]: https://github.com/mochajs/mocha/issues/3011
|
|
101
|
-
|
|
102
|
-
[@anishkny]: https://github.com/anishkny
|
|
103
|
-
[@harrysarson]: https://github.com/harrysarson
|
|
240
|
+
- [#3011](https://github.com/mochajs/mocha/issues/3011): Expose `generateDiff()` in `Base` reporter ([@harrysarson](https://github.com/harrysarson))
|
|
104
241
|
|
|
105
242
|
# 5.0.2 / 2018-03-05
|
|
106
243
|
|
|
107
|
-
This release fixes a class of tests which report as
|
|
244
|
+
This release fixes a class of tests which report as _false positives_. **Certain tests will now break**, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!
|
|
108
245
|
|
|
109
246
|
## :bug: Fixes
|
|
110
247
|
|
|
111
|
-
- [#3226]: Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull]). Example:
|
|
248
|
+
- [#3226](https://github.com/mochajs/mocha/issues/3226): Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull](https://github.com/boneskull)). Example:
|
|
112
249
|
|
|
113
|
-
|
|
250
|
+
\```js
|
|
114
251
|
it('should actually fail, sorry!', function (done) {
|
|
115
252
|
// passing assertion
|
|
116
253
|
assert(true === true);
|
|
@@ -123,21 +260,16 @@ This release fixes a class of tests which report as *false positives*. **Certai
|
|
|
123
260
|
throw new Error('chaos!');
|
|
124
261
|
}, 100);
|
|
125
262
|
});
|
|
126
|
-
|
|
263
|
+
\```
|
|
127
264
|
|
|
128
|
-
Previously to this version, Mocha would have
|
|
265
|
+
Previously to this version, Mocha would have _silently swallowed_ the `chaos!` exception, and you wouldn't know. Well, _now you know_. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.
|
|
129
266
|
|
|
130
|
-
**Maintainers of external reporters**:
|
|
131
|
-
- [#3093]: Fix stack trace reformatting problem ([@outsideris])
|
|
267
|
+
**Maintainers of external reporters**: _If_ a test of this class is encountered, the `Runner` instance will emit the `end` event _twice_; you _may_ need to change your reporter to use `runner.once('end')` intead of `runner.on('end')`.
|
|
268
|
+
- [#3093](https://github.com/mochajs/mocha/issues/3093): Fix stack trace reformatting problem ([@outsideris](https://github.com/outsideris))
|
|
132
269
|
|
|
133
270
|
## :nut_and_bolt: Other
|
|
134
271
|
|
|
135
|
-
- [#3248]: Update `browser-stdout` to v1.3.1 ([@honzajavorek])
|
|
136
|
-
|
|
137
|
-
[#3248]: https://github.com/mochajs/mocha/issues/3248
|
|
138
|
-
[#3226]: https://github.com/mochajs/mocha/issues/3226
|
|
139
|
-
[#3093]: https://github.com/mochajs/mocha/issues/3093
|
|
140
|
-
[@honzajavorek]: https://github.com/honzajavorek
|
|
272
|
+
- [#3248](https://github.com/mochajs/mocha/issues/3248): Update `browser-stdout` to v1.3.1 ([@honzajavorek](https://github.com/honzajavorek))
|
|
141
273
|
|
|
142
274
|
# 5.0.1 / 2018-02-07
|
|
143
275
|
|
|
@@ -147,155 +279,95 @@ Special thanks to [Wallaby.js](https://wallabyjs.com) for their continued suppor
|
|
|
147
279
|
|
|
148
280
|
## :bug: Fixes
|
|
149
281
|
|
|
150
|
-
- [#1838]: `--delay` now works with `.only()` ([@silviom])
|
|
151
|
-
- [#3119]: Plug memory leak present in v8 ([@boneskull])
|
|
282
|
+
- [#1838](https://github.com/mochajs/mocha/issues/1838): `--delay` now works with `.only()` ([@silviom](https://github.com/silviom))
|
|
283
|
+
- [#3119](https://github.com/mochajs/mocha/issues/3119): Plug memory leak present in v8 ([@boneskull](https://github.com/boneskull))
|
|
152
284
|
|
|
153
285
|
## :book: Documentation
|
|
154
286
|
|
|
155
|
-
- [#3132], [#3098]: Update `--glob` docs ([@outsideris])
|
|
156
|
-
- [#3212]: Update [Wallaby.js](https://wallabyjs.com)-related docs ([@ArtemGovorov])
|
|
157
|
-
- [#3205]: Remove outdated cruft ([@boneskull])
|
|
287
|
+
- [#3132](https://github.com/mochajs/mocha/issues/3132), [#3098](https://github.com/mochajs/mocha/issues/3098): Update `--glob` docs ([@outsideris](https://github.com/outsideris))
|
|
288
|
+
- [#3212](https://github.com/mochajs/mocha/pull/3212): Update [Wallaby.js](https://wallabyjs.com)-related docs ([@ArtemGovorov](https://github.com/ArtemGovorov))
|
|
289
|
+
- [#3205](https://github.com/mochajs/mocha/pull/3205): Remove outdated cruft ([@boneskull](https://github.com/boneskull))
|
|
158
290
|
|
|
159
291
|
## :nut_and_bolt: Other
|
|
160
292
|
|
|
161
|
-
- [#3224]: Add proper Wallaby.js config ([@ArtemGovorov])
|
|
162
|
-
- [#3230]: Update copyright year ([@josephlin55555])
|
|
163
|
-
|
|
164
|
-
[#1838]: https://github.com/mochajs/mocha/issues/1838
|
|
165
|
-
[#3119]: https://github.com/mochajs/mocha/issues/3119
|
|
166
|
-
[#3132]: https://github.com/mochajs/mocha/issues/3132
|
|
167
|
-
[#3098]: https://github.com/mochajs/mocha/issues/3098
|
|
168
|
-
[#3212]: https://github.com/mochajs/mocha/pull/3212
|
|
169
|
-
[#3205]: https://github.com/mochajs/mocha/pull/3205
|
|
170
|
-
[#3224]: https://github.com/mochajs/mocha/pull/3224
|
|
171
|
-
[#3230]: https://github.com/mochajs/mocha/pull/3230
|
|
172
|
-
[@silviom]: https://github.com/silviom
|
|
173
|
-
[@outsideris]: https://github.com/outsideris
|
|
174
|
-
[@ArtemGovorov]: https://github.com/ArtemGovorov
|
|
175
|
-
[@josephlin55555]: https://github.com/josephlin55555
|
|
293
|
+
- [#3224](https://github.com/mochajs/mocha/pull/3224): Add proper Wallaby.js config ([@ArtemGovorov](https://github.com/ArtemGovorov))
|
|
294
|
+
- [#3230](https://github.com/mochajs/mocha/pull/3230): Update copyright year ([@josephlin55555](https://github.com/josephlin55555))
|
|
176
295
|
|
|
177
296
|
# 5.0.0 / 2018-01-17
|
|
178
297
|
|
|
179
|
-
Mocha starts off 2018 right by again dropping support for
|
|
298
|
+
Mocha starts off 2018 right by again dropping support for _unmaintained rubbish_.
|
|
180
299
|
|
|
181
|
-
Welcome [@vkarpov15] to the team!
|
|
300
|
+
Welcome [@vkarpov15](https://github.com/vkarpov15) to the team!
|
|
182
301
|
|
|
183
302
|
## :boom: Breaking Changes
|
|
184
303
|
|
|
185
|
-
- **[#3148]: Drop support for IE9 and IE10** ([@Bamieh])
|
|
304
|
+
- **[#3148](https://github.com/mochajs/mocha/issues/3148): Drop support for IE9 and IE10** ([@Bamieh](https://github.com/Bamieh))
|
|
186
305
|
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.
|
|
187
306
|
|
|
188
307
|
## :tada: Enhancements
|
|
189
308
|
|
|
190
|
-
- [#3181]: Add useful new `--file` command line argument ([documentation](https://mochajs.org/#--file-file)) ([@hswolff])
|
|
309
|
+
- [#3181](https://github.com/mochajs/mocha/issues/3181): Add useful new `--file` command line argument ([documentation](https://mochajs.org/#--file-file)) ([@hswolff](https://github.com/hswolff))
|
|
191
310
|
|
|
192
311
|
## :bug: Fixes
|
|
193
312
|
|
|
194
|
-
- [#3187]: Fix inaccurate test duration reporting ([@FND])
|
|
195
|
-
- [#3202]: Fix bad markup in HTML reporter ([@DanielRuf])
|
|
313
|
+
- [#3187](https://github.com/mochajs/mocha/issues/3187): Fix inaccurate test duration reporting ([@FND](https://github.com/FND))
|
|
314
|
+
- [#3202](https://github.com/mochajs/mocha/pull/3202): Fix bad markup in HTML reporter ([@DanielRuf](https://github.com/DanielRuf))
|
|
196
315
|
|
|
197
316
|
## :sunglasses: Developer Experience
|
|
198
317
|
|
|
199
|
-
- [#2352]: Ditch GNU Make for [nps](https://npm.im/nps) to manage scripts ([@TedYav])
|
|
318
|
+
- [#2352](https://github.com/mochajs/mocha/issues/2352): Ditch GNU Make for [nps](https://npm.im/nps) to manage scripts ([@TedYav](https://github.com/TedYav))
|
|
200
319
|
|
|
201
320
|
## :book: Documentation
|
|
202
321
|
|
|
203
|
-
- [#3137]: Add missing `--no-timeouts` docs ([@dfberry])
|
|
204
|
-
- [#3134]: Improve `done()` callback docs ([@maraisr])
|
|
205
|
-
- [#3135]: Fix cross-references ([@vkarpov15])
|
|
206
|
-
- [#3163]: Fix tpyos ([@tbroadley])
|
|
207
|
-
- [#3177]: Tweak `README.md` organization ([@xxczaki])
|
|
208
|
-
- Misc updates ([@boneskull])
|
|
322
|
+
- [#3137](https://github.com/mochajs/mocha/issues/3137): Add missing `--no-timeouts` docs ([@dfberry](https://github.com/dfberry))
|
|
323
|
+
- [#3134](https://github.com/mochajs/mocha/issues/3134): Improve `done()` callback docs ([@maraisr](https://github.com/maraisr))
|
|
324
|
+
- [#3135](https://github.com/mochajs/mocha/issues/3135): Fix cross-references ([@vkarpov15](https://github.com/vkarpov15))
|
|
325
|
+
- [#3163](https://github.com/mochajs/mocha/pull/3163): Fix tpyos ([@tbroadley](https://github.com/tbroadley))
|
|
326
|
+
- [#3177](https://github.com/mochajs/mocha/pull/3177): Tweak `README.md` organization ([@xxczaki](https://github.com/xxczaki))
|
|
327
|
+
- Misc updates ([@boneskull](https://github.com/boneskull))
|
|
209
328
|
|
|
210
329
|
## :nut_and_bolt: Other
|
|
211
330
|
|
|
212
|
-
- [#3118]: Move TextMate Integration to [its own repo](https://github.com/mochajs/mocha.tmbundle) ([@Bamieh])
|
|
213
|
-
- [#3185]: Add Node.js v9 to build matrix; remove v7 ([@xxczaki])
|
|
214
|
-
- [#3172]: Markdown linting ([@boneskull])
|
|
215
|
-
- Test & Netlify updates ([@Munter], [@boneskull])
|
|
216
|
-
|
|
217
|
-
[#3148]: https://github.com/mochajs/mocha/issues/3148
|
|
218
|
-
[#3181]: https://github.com/mochajs/mocha/issues/3181
|
|
219
|
-
[#3187]: https://github.com/mochajs/mocha/issues/3187
|
|
220
|
-
[#3202]: https://github.com/mochajs/mocha/pull/3202
|
|
221
|
-
[#2352]: https://github.com/mochajs/mocha/issues/2352
|
|
222
|
-
[#3137]: https://github.com/mochajs/mocha/issues/3137
|
|
223
|
-
[#3134]: https://github.com/mochajs/mocha/issues/3134
|
|
224
|
-
[#3135]: https://github.com/mochajs/mocha/issues/3135
|
|
225
|
-
[#3163]: https://github.com/mochajs/mocha/pull/3163
|
|
226
|
-
[#3177]: https://github.com/mochajs/mocha/pull/3177
|
|
227
|
-
[#3118]: https://github.com/mochajs/mocha/issues/3118
|
|
228
|
-
[#3185]: https://github.com/mochajs/mocha/issues/3185
|
|
229
|
-
[#3172]: https://github.com/mochajs/mocha/issues/3172
|
|
230
|
-
[@hswolff]: https://github.com/hswolff
|
|
231
|
-
[@FND]: https://github.com/FND
|
|
232
|
-
[@DanielRuf]: https://github.com/DanielRuf
|
|
233
|
-
[@TedYav]: https://github.com/TedYav
|
|
234
|
-
[@dfberry]: https://github.com/dfberry
|
|
235
|
-
[@maraisr]: https://github.com/maraisr
|
|
236
|
-
[@vkarpov15]: https://github.com/vkarpov15
|
|
237
|
-
[@tbroadley]: https://github.com/tbroadley
|
|
331
|
+
- [#3118](https://github.com/mochajs/mocha/issues/3118): Move TextMate Integration to [its own repo](https://github.com/mochajs/mocha.tmbundle) ([@Bamieh](https://github.com/Bamieh))
|
|
332
|
+
- [#3185](https://github.com/mochajs/mocha/issues/3185): Add Node.js v9 to build matrix; remove v7 ([@xxczaki](https://github.com/xxczaki))
|
|
333
|
+
- [#3172](https://github.com/mochajs/mocha/issues/3172): Markdown linting ([@boneskull](https://github.com/boneskull))
|
|
334
|
+
- Test & Netlify updates ([@Munter](https://github.com/munter), [@boneskull](https://github.com/boneskull))
|
|
238
335
|
|
|
239
336
|
# 4.1.0 / 2017-12-28
|
|
240
337
|
|
|
241
338
|
This is mainly a "housekeeping" release.
|
|
242
339
|
|
|
243
|
-
Welcome [@Bamieh] and [@xxczaki] to the team!
|
|
340
|
+
Welcome [@Bamieh](https://github.com/Bamieh) and [@xxczaki](https://github.com/xxczaki) to the team!
|
|
244
341
|
|
|
245
342
|
## :bug: Fixes
|
|
246
343
|
|
|
247
|
-
- [#2661]: `progress` reporter now accepts reporter options ([@canoztokmak])
|
|
248
|
-
- [#3142]: `xit` in `bdd` interface now properly returns its `Test` object ([@Bamieh])
|
|
249
|
-
- [#3075]: Diffs now computed eagerly to avoid misinformation when reported ([@abrady0])
|
|
250
|
-
- [#2745]: `--help` will now help you even if you have a `mocha.opts` ([@Zarel])
|
|
344
|
+
- [#2661](https://github.com/mochajs/mocha/issues/2661): `progress` reporter now accepts reporter options ([@canoztokmak](https://github.com/canoztokmak))
|
|
345
|
+
- [#3142](https://github.com/mochajs/mocha/issues/3142): `xit` in `bdd` interface now properly returns its `Test` object ([@Bamieh](https://github.com/Bamieh))
|
|
346
|
+
- [#3075](https://github.com/mochajs/mocha/pull/3075): Diffs now computed eagerly to avoid misinformation when reported ([@abrady0](https://github.com/abrady0))
|
|
347
|
+
- [#2745](https://github.com/mochajs/mocha/issues/2745): `--help` will now help you even if you have a `mocha.opts` ([@Zarel](https://github.com/Zarel))
|
|
251
348
|
|
|
252
349
|
## :tada: Enhancements
|
|
253
350
|
|
|
254
|
-
- [#2514]: The `--no-diff` flag will completely disable diff output ([@CapacitorSet])
|
|
255
|
-
- [#3058]: All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic])
|
|
351
|
+
- [#2514](https://github.com/mochajs/mocha/issues/2514): The `--no-diff` flag will completely disable diff output ([@CapacitorSet](https://github.com/CapacitorSet))
|
|
352
|
+
- [#3058](https://github.com/mochajs/mocha/issues/3058): All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic](https://github.com/makepanic))
|
|
256
353
|
|
|
257
354
|
## :book: Documentation
|
|
258
355
|
|
|
259
|
-
- [#3170]: Optimization and site speed improvements ([@Munter])
|
|
260
|
-
- [#2987]: Moved the old [site repo](https://github.com/mochajs/mochajs.github.io) into the main repo under `docs/` ([@boneskull])
|
|
261
|
-
- [#2896]: Add [maintainer guide](https://github.com/mochajs/mocha/blob/master/MAINTAINERS.md) ([@boneskull])
|
|
262
|
-
- Various fixes and updates ([@xxczaki], [@maty21], [@leedm777])
|
|
356
|
+
- [#3170](https://github.com/mochajs/mocha/pull/3170): Optimization and site speed improvements ([@Munter](https://github.com/munter))
|
|
357
|
+
- [#2987](https://github.com/mochajs/mocha/issues/2987): Moved the old [site repo](https://github.com/mochajs/mochajs.github.io) into the main repo under `docs/` ([@boneskull](https://github.com/boneskull))
|
|
358
|
+
- [#2896](https://github.com/mochajs/mocha/issues/2896): Add [maintainer guide](https://github.com/mochajs/mocha/blob/master/MAINTAINERS.md) ([@boneskull](https://github.com/boneskull))
|
|
359
|
+
- Various fixes and updates ([@xxczaki](https://github.com/xxczaki), [@maty21](https://github.com/maty21), [@leedm777](https://github.com/leedm777))
|
|
263
360
|
|
|
264
361
|
## :nut_and_bolt: Other
|
|
265
362
|
|
|
266
|
-
- Test improvements and fixes ([@eugenet8k], [@ngeor], [@38elements], [@Gerhut], [@ScottFreeCode], [@boneskull])
|
|
267
|
-
- Refactoring and cruft excision ([@38elements], [@Bamieh], [@finnigantime], [@boneskull])
|
|
268
|
-
|
|
269
|
-
[#2661]: https://github.com/mochajs/mocha/issues/2661
|
|
270
|
-
[#3142]: https://github.com/mochajs/mocha/issues/3142
|
|
271
|
-
[#3075]: https://github.com/mochajs/mocha/pull/3075
|
|
272
|
-
[#2745]: https://github.com/mochajs/mocha/issues/2745
|
|
273
|
-
[#2514]: https://github.com/mochajs/mocha/issues/2514
|
|
274
|
-
[#3058]: https://github.com/mochajs/mocha/issues/3058
|
|
275
|
-
[#3170]: https://github.com/mochajs/mocha/pull/3170
|
|
276
|
-
[#2987]: https://github.com/mochajs/mocha/issues/2987
|
|
277
|
-
[#2896]: https://github.com/mochajs/mocha/issues/2896
|
|
278
|
-
[@canoztokmak]: https://github.com/canoztokmak
|
|
279
|
-
[@Bamieh]: https://github.com/Bamieh
|
|
280
|
-
[@abrady0]: https://github.com/abrady0
|
|
281
|
-
[@Zarel]: https://github.com/Zarel
|
|
282
|
-
[@CapacitorSet]: https://github.com/CapacitorSet
|
|
283
|
-
[@xxczaki]: https://github.com/xxczaki
|
|
284
|
-
[@maty21]: https://github.com/maty21
|
|
285
|
-
[@leedm777]: https://github.com/leedm777
|
|
286
|
-
[@eugenet8k]: https://github.com/eugenet8k
|
|
287
|
-
[@38elements]: https://github.com/38elements
|
|
288
|
-
[@Gerhut]: https://github.com/Gerhut
|
|
289
|
-
[@finnigantime]: https://github.com/finnigantime
|
|
363
|
+
- Test improvements and fixes ([@eugenet8k](https://github.com/eugenet8k), [@ngeor](https://github.com/ngeor), [@38elements](https://github.com/38elements), [@Gerhut](https://github.com/Gerhut), [@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
|
|
364
|
+
- Refactoring and cruft excision ([@38elements](https://github.com/38elements), [@Bamieh](https://github.com/Bamieh), [@finnigantime](https://github.com/finnigantime), [@boneskull](https://github.com/boneskull))
|
|
290
365
|
|
|
291
366
|
# 4.0.1 / 2017-10-05
|
|
292
367
|
|
|
293
368
|
## :bug: Fixes
|
|
294
369
|
|
|
295
|
-
- [#3051]: Upgrade Growl to v1.10.3 to fix its [peer dep problems](https://github.com/tj/node-growl/pull/68) ([@dpogue])
|
|
296
|
-
|
|
297
|
-
[#3051]: https://github.com/mochajs/mocha/pull/3051
|
|
298
|
-
[@dpogue]: https://github.com/dpogue
|
|
370
|
+
- [#3051](https://github.com/mochajs/mocha/pull/3051): Upgrade Growl to v1.10.3 to fix its [peer dep problems](https://github.com/tj/node-growl/pull/68) ([@dpogue](https://github.com/dpogue))
|
|
299
371
|
|
|
300
372
|
# 4.0.0 / 2017-10-02
|
|
301
373
|
|
|
@@ -307,76 +379,56 @@ For more info, please [read this article](https://boneskull.com/mocha-v4-nears-r
|
|
|
307
379
|
|
|
308
380
|
### Compatibility
|
|
309
381
|
|
|
310
|
-
- [#3016]: Drop support for unmaintained versions of Node.js ([@boneskull]):
|
|
382
|
+
- [#3016](https://github.com/mochajs/mocha/issues/3016): Drop support for unmaintained versions of Node.js ([@boneskull](https://github.com/boneskull)):
|
|
311
383
|
- 0.10.x
|
|
312
384
|
- 0.11.x
|
|
313
385
|
- 0.12.x
|
|
314
386
|
- iojs (any)
|
|
315
387
|
- 5.x.x
|
|
316
|
-
- [#2979]: Drop support for non-ES5-compliant browsers ([@boneskull]):
|
|
388
|
+
- [#2979](https://github.com/mochajs/mocha/issues/2979): Drop support for non-ES5-compliant browsers ([@boneskull](https://github.com/boneskull)):
|
|
317
389
|
- IE7
|
|
318
390
|
- IE8
|
|
319
391
|
- PhantomJS 1.x
|
|
320
|
-
- [#2615]: Drop Bower support; old versions (3.x, etc.) will remain available ([@ScottFreeCode], [@boneskull])
|
|
392
|
+
- [#2615](https://github.com/mochajs/mocha/issues/2615): Drop Bower support; old versions (3.x, etc.) will remain available ([@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
|
|
321
393
|
|
|
322
394
|
### Default Behavior
|
|
323
395
|
|
|
324
|
-
- [#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])
|
|
396
|
+
- [#2879](https://github.com/mochajs/mocha/issues/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](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
|
|
325
397
|
|
|
326
398
|
### Reporter Output
|
|
327
399
|
|
|
328
|
-
- [#2095]: Remove `stdout:` prefix from browser reporter logs ([@skeggse])
|
|
329
|
-
- [#2295]: Add separator in "unified diff" output ([@olsonpm])
|
|
330
|
-
- [#2686]: Print failure message when `--forbid-pending` or `--forbid-only` is specified ([@ScottFreeCode])
|
|
331
|
-
- [#2814]: Indent contexts for better readability when reporting failures ([@charlierudolph])
|
|
400
|
+
- [#2095](https://github.com/mochajs/mocha/issues/2095): Remove `stdout:` prefix from browser reporter logs ([@skeggse](https://github.com/skeggse))
|
|
401
|
+
- [#2295](https://github.com/mochajs/mocha/issues/2295): Add separator in "unified diff" output ([@olsonpm](https://github.com/olsonpm))
|
|
402
|
+
- [#2686](https://github.com/mochajs/mocha/issues/2686): Print failure message when `--forbid-pending` or `--forbid-only` is specified ([@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
403
|
+
- [#2814](https://github.com/mochajs/mocha/pull/2814): Indent contexts for better readability when reporting failures ([@charlierudolph](https://github.com/charlierudolph))
|
|
332
404
|
|
|
333
405
|
## :-1: Deprecations
|
|
334
406
|
|
|
335
|
-
- [#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])
|
|
407
|
+
- [#2493](https://github.com/mochajs/mocha/issues/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](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull))
|
|
336
408
|
|
|
337
409
|
## :tada: Enhancements
|
|
338
410
|
|
|
339
|
-
- [#2628]: Allow override of default test suite name in XUnit reporter ([@ngeor])
|
|
411
|
+
- [#2628](https://github.com/mochajs/mocha/issues/2628): Allow override of default test suite name in XUnit reporter ([@ngeor](https://github.com/ngeor))
|
|
340
412
|
|
|
341
413
|
## :book: Documentation
|
|
342
414
|
|
|
343
|
-
- [#3020]: Link to CLA in `README.md` and `CONTRIBUTING.md` ([@skeggse])
|
|
415
|
+
- [#3020](https://github.com/mochajs/mocha/pull/3020): Link to CLA in `README.md` and `CONTRIBUTING.md` ([@skeggse](https://github.com/skeggse))
|
|
344
416
|
|
|
345
417
|
## :nut_and_bolt: Other
|
|
346
418
|
|
|
347
|
-
- [#2890]: Speed up build by (re-)consolidating SauceLabs tests ([@boneskull])
|
|
348
|
-
|
|
349
|
-
[#3016]: https://github.com/mochajs/mocha/issues/3016
|
|
350
|
-
[#2979]: https://github.com/mochajs/mocha/issues/2979
|
|
351
|
-
[#2615]: https://github.com/mochajs/mocha/issues/2615
|
|
352
|
-
[#2879]: https://github.com/mochajs/mocha/issues/2879
|
|
353
|
-
[#2095]: https://github.com/mochajs/mocha/issues/2095
|
|
354
|
-
[#2295]: https://github.com/mochajs/mocha/issues/2295
|
|
355
|
-
[#2686]: https://github.com/mochajs/mocha/issues/2686
|
|
356
|
-
[#2814]: https://github.com/mochajs/mocha/pull/2814
|
|
357
|
-
[#2493]: https://github.com/mochajs/mocha/issues/2493
|
|
358
|
-
[#2628]: https://github.com/mochajs/mocha/issues/2628
|
|
359
|
-
[#3020]: https://github.com/mochajs/mocha/pull/3020
|
|
360
|
-
[#2890]: https://github.com/mochajs/mocha/issues/2890
|
|
361
|
-
[@skeggse]: https://github.com/skeggse
|
|
362
|
-
[@olsonpm]: https://github.com/olsonpm
|
|
363
|
-
[@ngeor]: https://github.com/ngeor
|
|
419
|
+
- [#2890](https://github.com/mochajs/mocha/issues/2890): Speed up build by (re-)consolidating SauceLabs tests ([@boneskull](https://github.com/boneskull))
|
|
364
420
|
|
|
365
421
|
# 3.5.3 / 2017-09-11
|
|
366
422
|
|
|
367
423
|
## :bug: Fixes
|
|
368
424
|
|
|
369
|
-
- [#3003]: Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems])
|
|
370
|
-
|
|
371
|
-
[#3003]: https://github.com/mochajs/mocha/pull/3003
|
|
425
|
+
- [#3003](https://github.com/mochajs/mocha/pull/3003): Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems](https://github.com/jkrems))
|
|
372
426
|
|
|
373
427
|
# 3.5.2 / 2017-09-10
|
|
374
428
|
|
|
375
429
|
## :bug: Fixes
|
|
376
430
|
|
|
377
|
-
- [#3001]: Fix AMD-related failures first appearing in v3.5.1 ([@boneskull])
|
|
378
|
-
|
|
379
|
-
[#3001]: https://github.com/mochajs/mocha/pull/3001
|
|
431
|
+
- [#3001](https://github.com/mochajs/mocha/pull/3001): Fix AMD-related failures first appearing in v3.5.1 ([@boneskull](https://github.com/boneskull))
|
|
380
432
|
|
|
381
433
|
# 3.5.1 / 2017-09-09
|
|
382
434
|
|
|
@@ -386,75 +438,48 @@ For more info, please [read this article](https://boneskull.com/mocha-v4-nears-r
|
|
|
386
438
|
|
|
387
439
|
## :bug: Fixes
|
|
388
440
|
|
|
389
|
-
- [#2997]: Fix missing `xit` export for "require" interface ([@solodynamo])
|
|
390
|
-
- [#2957]: Fix unicode character handling in XUnit reporter failures ([@jkrems])
|
|
441
|
+
- [#2997](https://github.com/mochajs/mocha/pull/2997): Fix missing `xit` export for "require" interface ([@solodynamo](https://github.com/solodynamo))
|
|
442
|
+
- [#2957](https://github.com/mochajs/mocha/pull/2957): Fix unicode character handling in XUnit reporter failures ([@jkrems](https://github.com/jkrems))
|
|
391
443
|
|
|
392
444
|
## :nut_and_bolt: Other
|
|
393
445
|
|
|
394
|
-
- [#2986]: Add issue and PR templates ([@kungapal])
|
|
395
|
-
- [#2918]: Drop bash dependency for glob-related tests ([@ScottFreeCode])
|
|
396
|
-
- [#2922]: Improve `--compilers` coverage ([@ScottFreeCode])
|
|
397
|
-
- [#2981]: Fix tpyos and spelling errors ([@jsoref])
|
|
398
|
-
|
|
399
|
-
[#2997]: https://github.com/mochajs/mocha/pull/2997
|
|
400
|
-
[#2957]: https://github.com/mochajs/mocha/pull/2957
|
|
401
|
-
[#2918]: https://github.com/mochajs/mocha/pull/2918
|
|
402
|
-
[#2986]: https://github.com/mochajs/mocha/pull/2986
|
|
403
|
-
[#2922]: https://github.com/mochajs/mocha/pull/2922
|
|
404
|
-
[#2981]: https://github.com/mochajs/mocha/pull/2981
|
|
405
|
-
[@solodynamo]: https://github.com/solodynamo
|
|
406
|
-
[@jkrems]: https://github.com/jkrems
|
|
407
|
-
[@jsoref]: https://github.com/jsoref
|
|
446
|
+
- [#2986](https://github.com/mochajs/mocha/pull/2986): Add issue and PR templates ([@kungapal](https://github.com/kungapal))
|
|
447
|
+
- [#2918](https://github.com/mochajs/mocha/pull/2918): Drop bash dependency for glob-related tests ([@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
448
|
+
- [#2922](https://github.com/mochajs/mocha/pull/2922): Improve `--compilers` coverage ([@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
449
|
+
- [#2981](https://github.com/mochajs/mocha/pull/2981): Fix tpyos and spelling errors ([@jsoref](https://github.com/jsoref))
|
|
408
450
|
|
|
409
451
|
# 3.5.0 / 2017-07-31
|
|
410
452
|
|
|
411
453
|
## :newspaper: News
|
|
412
454
|
|
|
413
|
-
- Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [@kungapal]!).
|
|
455
|
+
- Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [@kungapal](https://github.com/kungapal)!).
|
|
414
456
|
- 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.
|
|
415
457
|
- **WARNING**: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!
|
|
416
458
|
|
|
417
459
|
## :lock: Security Fixes
|
|
418
460
|
|
|
419
|
-
- [#2860]: Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([@boneskull])
|
|
461
|
+
- [#2860](https://github.com/mochajs/mocha/pull/2860): Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([@boneskull](https://github.com/boneskull))
|
|
420
462
|
|
|
421
463
|
## :tada: Enhancements
|
|
422
464
|
|
|
423
|
-
- [#2696]: Add `--forbid-only` and `--forbid-pending` flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([@charlierudolph])
|
|
424
|
-
- [#2813]: Support Node.js 8's `--napi-modules` flag ([@jupp0r])
|
|
465
|
+
- [#2696](https://github.com/mochajs/mocha/pull/2696): Add `--forbid-only` and `--forbid-pending` flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([@charlierudolph](https://github.com/charlierudolph))
|
|
466
|
+
- [#2813](https://github.com/mochajs/mocha/pull/2813): Support Node.js 8's `--napi-modules` flag ([@jupp0r](https://github.com/jupp0r))
|
|
425
467
|
|
|
426
468
|
## :nut_and_bolt: Other
|
|
427
469
|
|
|
428
|
-
- Various CI-and-test-related fixes and improvements ([@boneskull], [@dasilvacontin], [@PopradiArpad], [@Munter], [@ScottFreeCode])
|
|
429
|
-
- "Officially" support Node.js 8 ([@elergy])
|
|
430
|
-
|
|
431
|
-
[#2860]: https://github.com/mochajs/mocha/pull/2860
|
|
432
|
-
[#2696]: https://github.com/mochajs/mocha/pull/2696
|
|
433
|
-
[#2813]: https://github.com/mochajs/mocha/pull/2813
|
|
434
|
-
[@charlierudolph]: https://github.com/charlierudolph
|
|
435
|
-
[@PopradiArpad]: https://github.com/PopradiArpad
|
|
436
|
-
[@kungapal]: https://github.com/kungapal
|
|
437
|
-
[@elergy]: https://github.com/elergy
|
|
438
|
-
[@jupp0r]: https://github.com/jupp0r
|
|
470
|
+
- Various CI-and-test-related fixes and improvements ([@boneskull](https://github.com/boneskull), [@dasilvacontin](https://github.com/dasilvacontin), [@PopradiArpad](https://github.com/PopradiArpad), [@Munter](https://github.com/munter), [@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
471
|
+
- "Officially" support Node.js 8 ([@elergy](https://github.com/elergy))
|
|
439
472
|
|
|
440
473
|
# 3.4.2 / 2017-05-24
|
|
441
474
|
|
|
442
475
|
## :bug: Fixes
|
|
443
476
|
|
|
444
|
-
- [#2802]: Remove call to deprecated `os.tmpDir` ([@makepanic])
|
|
445
|
-
- [#2820]: Eagerly set `process.exitCode` ([@chrisleck])
|
|
477
|
+
- [#2802](https://github.com/mochajs/mocha/issues/2802): Remove call to deprecated `os.tmpDir` ([@makepanic](https://github.com/makepanic))
|
|
478
|
+
- [#2820](https://github.com/mochajs/mocha/pull/2820): Eagerly set `process.exitCode` ([@chrisleck](https://github.com/chrisleck))
|
|
446
479
|
|
|
447
480
|
## :nut_and_bolt: Other
|
|
448
481
|
|
|
449
|
-
- [#
|
|
450
|
-
|
|
451
|
-
[@chrisleck]: https://github.com/chrisleck
|
|
452
|
-
[@makepanic]: https://github.com/makepanic
|
|
453
|
-
[@Munter]: https://github.com/Munter
|
|
454
|
-
|
|
455
|
-
[#2778]: https://github.com/mochajs/mocha/pull/2778
|
|
456
|
-
[#2802]: https://github.com/mochajs/mocha/issues/2802
|
|
457
|
-
[#2820]: https://github.com/mochajs/mocha/pull/2820
|
|
482
|
+
- [#2807](https://github.com/mochajs/mocha/pull/2807): Move linting into an npm script ([@Munter](https://github.com/munter))
|
|
458
483
|
|
|
459
484
|
# 3.4.1 / 2017-05-14
|
|
460
485
|
|
|
@@ -471,30 +496,18 @@ This week's highlights:
|
|
|
471
496
|
|
|
472
497
|
## :tada: Enhancements
|
|
473
498
|
|
|
474
|
-
- [#2793], [#2697]: add --allowUncaught to Node.js ([@lrowe])
|
|
475
|
-
- [#2733]: Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe])
|
|
499
|
+
- [#2793](https://github.com/mochajs/mocha/pull/2793), [#2697](https://github.com/mochajs/mocha/pull/2697): add --allowUncaught to Node.js ([@lrowe](https://github.com/lrowe))
|
|
500
|
+
- [#2733](https://github.com/mochajs/mocha/pull/2733): Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe](https://github.com/sonicdoe))
|
|
476
501
|
|
|
477
502
|
## :bug: Fixes
|
|
478
503
|
|
|
479
|
-
- [#2793], [#2697]: fix broken allowUncaught ([@lrowe])
|
|
504
|
+
- [#2793](https://github.com/mochajs/mocha/pull/2793), [#2697](https://github.com/mochajs/mocha/pull/2697): fix broken allowUncaught ([@lrowe](https://github.com/lrowe))
|
|
480
505
|
|
|
481
506
|
## :nut_and_bolt: Other
|
|
482
507
|
|
|
483
|
-
- [#2778]: Add license report and scan status ([@xizhao])
|
|
484
|
-
- [#2794]: no special case for macOS running Karma locally ([@boneskull])
|
|
485
|
-
- [#2795]: reverts use of semistandard directly ([#2648]) ([@boneskull])
|
|
486
|
-
|
|
487
|
-
[@lrowe]: https://github.com/lrowe
|
|
488
|
-
[@sonicdoe]: https://github.com/sonicdoe
|
|
489
|
-
[@xizhao]: https://github.com/xizhao
|
|
490
|
-
[@boneskull]: https://github.com/boneskull
|
|
491
|
-
|
|
492
|
-
[#2795]: https://github.com/mochajs/mocha/pull/2795
|
|
493
|
-
[#2733]: https://github.com/mochajs/mocha/pull/2733
|
|
494
|
-
[#2793]: https://github.com/mochajs/mocha/pull/2793
|
|
495
|
-
[#2697]: https://github.com/mochajs/mocha/pull/2697
|
|
496
|
-
[#2778]: https://github.com/mochajs/mocha/pull/2778
|
|
497
|
-
[#2794]: https://github.com/mochajs/mocha/pull/2794
|
|
508
|
+
- [#2778](https://github.com/mochajs/mocha/pull/2778): Add license report and scan status ([@xizhao](https://github.com/xizhao))
|
|
509
|
+
- [#2794](https://github.com/mochajs/mocha/pull/2794): no special case for macOS running Karma locally ([@boneskull](https://github.com/boneskull))
|
|
510
|
+
- [#2795](https://github.com/mochajs/mocha/pull/2795): reverts use of semistandard directly ([#2648](https://github.com/mochajs/mocha/pull/2648)) ([@boneskull](https://github.com/boneskull))
|
|
498
511
|
|
|
499
512
|
# 3.3.0 / 2017-04-24
|
|
500
513
|
|
|
@@ -503,86 +516,47 @@ Thanks to all our contributors, maintainers, sponsors, and users! ❤️
|
|
|
503
516
|
As highlights:
|
|
504
517
|
|
|
505
518
|
- We've got coverage now!
|
|
506
|
-
- Testing is looking less flaky
|
|
519
|
+
- Testing is looking less flaky \\o/.
|
|
507
520
|
- No more nitpicking about "mocha.js" build on PRs.
|
|
508
521
|
|
|
509
522
|
## :tada: Enhancements
|
|
510
523
|
|
|
511
|
-
- [#2659]: Adds support for loading reporter from an absolute or relative path ([@sul4bh])
|
|
512
|
-
- [#2769]: Support `--inspect-brk` on command-line ([@igwejk])
|
|
524
|
+
- [#2659](https://github.com/mochajs/mocha/pull/2659): Adds support for loading reporter from an absolute or relative path ([@sul4bh](https://github.com/sul4bh))
|
|
525
|
+
- [#2769](https://github.com/mochajs/mocha/pull/2769): Support `--inspect-brk` on command-line ([@igwejk](https://github.com/igwejk))
|
|
513
526
|
|
|
514
527
|
## :bug: Fixes
|
|
515
528
|
|
|
516
|
-
- [#2662]: Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan])
|
|
529
|
+
- [#2662](https://github.com/mochajs/mocha/pull/2662): Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan](https://github.com/rotemdan))
|
|
517
530
|
|
|
518
531
|
## :mag: Coverage
|
|
519
532
|
|
|
520
|
-
- [#2672]: Add coverage for node tests ([@c089], [@Munter])
|
|
521
|
-
- [#2680]: Increase tests coverage for base reporter ([@epallerols])
|
|
522
|
-
- [#2690]: Increase tests coverage for doc reporter ([@craigtaub])
|
|
523
|
-
- [#2701]: Increase tests coverage for landing, min, tap and list reporters ([@craigtaub])
|
|
524
|
-
- [#2691]: Increase tests coverage for spec + dot reporters ([@craigtaub])
|
|
525
|
-
- [#2698]: Increase tests coverage for xunit reporter ([@craigtaub])
|
|
526
|
-
- [#2699]: Increase tests coverage for json-stream, markdown and progress reporters ([@craigtaub])
|
|
527
|
-
- [#2703]: Cover .some() function in utils.js with tests ([@seppevs])
|
|
528
|
-
- [#2773]: Add tests for loading reporters w/ relative/absolute paths ([@sul4bh])
|
|
533
|
+
- [#2672](https://github.com/mochajs/mocha/pull/2672): Add coverage for node tests ([@c089](https://github.com/c089), [@Munter](https://github.com/munter))
|
|
534
|
+
- [#2680](https://github.com/mochajs/mocha/pull/2680): Increase tests coverage for base reporter ([@epallerols](https://github.com/epallerols))
|
|
535
|
+
- [#2690](https://github.com/mochajs/mocha/pull/2690): Increase tests coverage for doc reporter ([@craigtaub](https://github.com/craigtaub))
|
|
536
|
+
- [#2701](https://github.com/mochajs/mocha/pull/2701): Increase tests coverage for landing, min, tap and list reporters ([@craigtaub](https://github.com/craigtaub))
|
|
537
|
+
- [#2691](https://github.com/mochajs/mocha/pull/2691): Increase tests coverage for spec + dot reporters ([@craigtaub](https://github.com/craigtaub))
|
|
538
|
+
- [#2698](https://github.com/mochajs/mocha/pull/2698): Increase tests coverage for xunit reporter ([@craigtaub](https://github.com/craigtaub))
|
|
539
|
+
- [#2699](https://github.com/mochajs/mocha/pull/2699): Increase tests coverage for json-stream, markdown and progress reporters ([@craigtaub](https://github.com/craigtaub))
|
|
540
|
+
- [#2703](https://github.com/mochajs/mocha/pull/2703): Cover .some() function in utils.js with tests ([@seppevs](https://github.com/seppevs))
|
|
541
|
+
- [#2773](https://github.com/mochajs/mocha/pull/2773): Add tests for loading reporters w/ relative/absolute paths ([@sul4bh](https://github.com/sul4bh))
|
|
529
542
|
|
|
530
543
|
## :nut_and_bolt: Other
|
|
531
544
|
|
|
532
|
-
- Remove bin/.eslintrc; ensure execs are linted ([@boneskull])
|
|
533
|
-
- [#2542]: Expand CONTRIBUTING.md ([@boneskull])
|
|
534
|
-
- [#2660]: Double timeouts on integration tests ([@Munter])
|
|
535
|
-
- [#2653]: Update copyright year ([@Scottkao85], [@Munter])
|
|
536
|
-
- [#2621]: Update dependencies to enable Greenkeeper ([@boneskull], [@greenkeeper])
|
|
537
|
-
- [#2625]: Use trusty container in travis-ci; use "artifacts" addon ([@boneskull])
|
|
538
|
-
- [#2670]: doc(CONTRIBUTING): fix link to org members ([@coderbyheart])
|
|
539
|
-
- Add Mocha propaganda to README.md ([@boneskull])
|
|
540
|
-
- [#2470]: Avoid test flake in "delay" test ([@boneskull])
|
|
541
|
-
- [#2675]: Limit browser concurrency on sauce ([@boneskull])
|
|
542
|
-
- [#2669]: Use temporary test-only build of mocha.js for browsers tests ([@Munter])
|
|
543
|
-
- Fix "projects" link in README.md ([@boneskull])
|
|
544
|
-
- [#2678]: Chore(Saucelabs): test on IE9, IE10 and IE11 ([@coderbyheart])
|
|
545
|
-
- [#2648]: Use `semistandard` directly ([@kt3k])
|
|
546
|
-
- [#2727]: Make the build reproducible ([@lamby])
|
|
547
|
-
|
|
548
|
-
[@boneskull]: https://github.com/boneskull
|
|
549
|
-
[@c089]: https://github.com/c089
|
|
550
|
-
[@coderbyheart]: https://github.com/coderbyheart
|
|
551
|
-
[@craigtaub]: https://github.com/craigtaub
|
|
552
|
-
[@epallerols]: https://github.com/epallerols
|
|
553
|
-
[@greenkeeper]: https://github.com/greenkeeper
|
|
554
|
-
[@igwejk]: https://github.com/igwejk
|
|
555
|
-
[@kt3k]: https://github.com/kt3k
|
|
556
|
-
[@lamby]: https://github.com/lamby
|
|
557
|
-
[@Munter]: https://github.com/Munter
|
|
558
|
-
[@rotemdan]: https://github.com/rotemdan
|
|
559
|
-
[@seppevs]: https://github.com/seppevs
|
|
560
|
-
[@sul4bh]: https://github.com/sul4bh
|
|
561
|
-
|
|
562
|
-
[#2470]: https://github.com/mochajs/mocha/pull/2470
|
|
563
|
-
[#2542]: https://github.com/mochajs/mocha/issues/2542
|
|
564
|
-
[#2621]: https://github.com/mochajs/mocha/pull/2621
|
|
565
|
-
[#2625]: https://github.com/mochajs/mocha/pull/2625
|
|
566
|
-
[#2648]: https://github.com/mochajs/mocha/pull/2648
|
|
567
|
-
[#2653]: https://github.com/mochajs/mocha/pull/2653
|
|
568
|
-
[#2659]: https://github.com/mochajs/mocha/pull/2659
|
|
569
|
-
[#2660]: https://github.com/mochajs/mocha/pull/2660
|
|
570
|
-
[#2662]: https://github.com/mochajs/mocha/pull/2662
|
|
571
|
-
[#2669]: https://github.com/mochajs/mocha/pull/2669
|
|
572
|
-
[#2670]: https://github.com/mochajs/mocha/pull/2670
|
|
573
|
-
[#2672]: https://github.com/mochajs/mocha/pull/2672
|
|
574
|
-
[#2675]: https://github.com/mochajs/mocha/pull/2675
|
|
575
|
-
[#2678]: https://github.com/mochajs/mocha/pull/2678
|
|
576
|
-
[#2680]: https://github.com/mochajs/mocha/pull/2680
|
|
577
|
-
[#2690]: https://github.com/mochajs/mocha/pull/2690
|
|
578
|
-
[#2691]: https://github.com/mochajs/mocha/pull/2691
|
|
579
|
-
[#2698]: https://github.com/mochajs/mocha/pull/2698
|
|
580
|
-
[#2699]: https://github.com/mochajs/mocha/pull/2699
|
|
581
|
-
[#2701]: https://github.com/mochajs/mocha/pull/2701
|
|
582
|
-
[#2703]: https://github.com/mochajs/mocha/pull/2703
|
|
583
|
-
[#2727]: https://github.com/mochajs/mocha/pull/2727
|
|
584
|
-
[#2769]: https://github.com/mochajs/mocha/pull/2769
|
|
585
|
-
[#2773]: https://github.com/mochajs/mocha/pull/2773
|
|
545
|
+
- Remove bin/.eslintrc; ensure execs are linted ([@boneskull](https://github.com/boneskull))
|
|
546
|
+
- [#2542](https://github.com/mochajs/mocha/issues/2542): Expand CONTRIBUTING.md ([@boneskull](https://github.com/boneskull))
|
|
547
|
+
- [#2660](https://github.com/mochajs/mocha/pull/2660): Double timeouts on integration tests ([@Munter](https://github.com/munter))
|
|
548
|
+
- [#2653](https://github.com/mochajs/mocha/pull/2653): Update copyright year ([@Scottkao85], [@Munter](https://github.com/munter))
|
|
549
|
+
- [#2621](https://github.com/mochajs/mocha/pull/2621): Update dependencies to enable Greenkeeper ([@boneskull](https://github.com/boneskull), [@greenkeeper](https://github.com/greenkeeper))
|
|
550
|
+
- [#2625](https://github.com/mochajs/mocha/pull/2625): Use trusty container in travis-ci; use "artifacts" addon ([@boneskull](https://github.com/boneskull))
|
|
551
|
+
- [#2670](https://github.com/mochajs/mocha/pull/2670): doc(CONTRIBUTING): fix link to org members ([@coderbyheart](https://github.com/coderbyheart))
|
|
552
|
+
- Add Mocha propaganda to README.md ([@boneskull](https://github.com/boneskull))
|
|
553
|
+
- [#2470](https://github.com/mochajs/mocha/pull/2470): Avoid test flake in "delay" test ([@boneskull](https://github.com/boneskull))
|
|
554
|
+
- [#2675](https://github.com/mochajs/mocha/pull/2675): Limit browser concurrency on sauce ([@boneskull](https://github.com/boneskull))
|
|
555
|
+
- [#2669](https://github.com/mochajs/mocha/pull/2669): Use temporary test-only build of mocha.js for browsers tests ([@Munter](https://github.com/munter))
|
|
556
|
+
- Fix "projects" link in README.md ([@boneskull](https://github.com/boneskull))
|
|
557
|
+
- [#2678](https://github.com/mochajs/mocha/pull/2678): Chore(Saucelabs): test on IE9, IE10 and IE11 ([@coderbyheart](https://github.com/coderbyheart))
|
|
558
|
+
- [#2648](https://github.com/mochajs/mocha/pull/2648): Use `semistandard` directly ([@kt3k](https://github.com/kt3k))
|
|
559
|
+
- [#2727](https://github.com/mochajs/mocha/pull/2727): Make the build reproducible ([@lamby](https://github.com/lamby))
|
|
586
560
|
|
|
587
561
|
# 3.2.0 / 2016-11-24
|
|
588
562
|
|
|
@@ -600,31 +574,19 @@ Mocha remains licensed under the [MIT license](https://github.com/mochajs/mocha/
|
|
|
600
574
|
|
|
601
575
|
## :bug: Bug Fix
|
|
602
576
|
|
|
603
|
-
- [#2535]: Fix crash when `--watch` encounters broken symlinks ([@villesau])
|
|
604
|
-
- [#2593]: Fix (old) regression; incorrect symbol shown in `list` reporter ([@Aldaviva])
|
|
605
|
-
- [#2584]: Fix potential error when running XUnit reporter ([@vobujs])
|
|
577
|
+
- [#2535](https://github.com/mochajs/mocha/issues/2535): Fix crash when `--watch` encounters broken symlinks ([@villesau](https://github.com/villesau))
|
|
578
|
+
- [#2593](https://github.com/mochajs/mocha/pull/2593): Fix (old) regression; incorrect symbol shown in `list` reporter ([@Aldaviva](https://github.com/Aldaviva))
|
|
579
|
+
- [#2584](https://github.com/mochajs/mocha/issues/2584): Fix potential error when running XUnit reporter ([@vobujs](https://github.com/vobujs))
|
|
606
580
|
|
|
607
581
|
## :tada: Enhancement
|
|
608
582
|
|
|
609
|
-
- [#2294]: Improve timeout error messaging ([@jeversmann], [@boneskull])
|
|
610
|
-
- [#2520]: Add info about `--inspect` flag to CLI help ([@ughitsaaron])
|
|
583
|
+
- [#2294](https://github.com/mochajs/mocha/issues/2294): Improve timeout error messaging ([@jeversmann](https://github.com/jeversmann), [@boneskull](https://github.com/boneskull))
|
|
584
|
+
- [#2520](https://github.com/mochajs/mocha/pull/2520): Add info about `--inspect` flag to CLI help ([@ughitsaaron](https://github.com/ughitsaaron))
|
|
611
585
|
|
|
612
586
|
## :nut_and_bolt: Other
|
|
613
587
|
|
|
614
|
-
- [#2570]: Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@boneskull])
|
|
615
|
-
- Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([@boneskull], [@ScottFreeCode], [@dasilvacontin])
|
|
616
|
-
|
|
617
|
-
[#2294]: https://github.com/mochajs/mocha/issues/2294
|
|
618
|
-
[#2535]: https://github.com/mochajs/mocha/issues/2535
|
|
619
|
-
[#2520]: https://github.com/mochajs/mocha/pull/2520
|
|
620
|
-
[#2593]: https://github.com/mochajs/mocha/pull/2593
|
|
621
|
-
[#2584]: https://github.com/mochajs/mocha/issues/2584
|
|
622
|
-
[#2570]: https://github.com/mochajs/mocha/issues/2570
|
|
623
|
-
[@Aldaviva]: https://github.com/Aldaviva
|
|
624
|
-
[@jeversmann]: https://github.com/jeversmann
|
|
625
|
-
[@ughitsaaron]: https://github.com/ughitsaaron
|
|
626
|
-
[@villesau]: https://github.com/villesau
|
|
627
|
-
[@vobujs]: https://github.com/vobujs
|
|
588
|
+
- [#2570](https://github.com/mochajs/mocha/issues/2570): Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@boneskull](https://github.com/boneskull))
|
|
589
|
+
- Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([@boneskull](https://github.com/boneskull), [@ScottFreeCode](https://github.com/ScottFreeCode), [@dasilvacontin](https://github.com/dasilvacontin))
|
|
628
590
|
|
|
629
591
|
Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
|
|
630
592
|
|
|
@@ -632,80 +594,51 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
632
594
|
|
|
633
595
|
## :bug: Bug Fix
|
|
634
596
|
|
|
635
|
-
- [#2528]: Recovery gracefully if an `Error`'s `stack` property isn't writable ([@boneskull])
|
|
636
|
-
|
|
637
|
-
[#2528]: https://github.com/mochajs/mocha/issues/2528
|
|
597
|
+
- [#2528](https://github.com/mochajs/mocha/issues/2528): Recovery gracefully if an `Error`'s `stack` property isn't writable ([@boneskull](https://github.com/boneskull))
|
|
638
598
|
|
|
639
599
|
# 3.1.1 / 2016-10-09
|
|
640
600
|
|
|
641
601
|
## :bug: Bug Fix
|
|
642
602
|
|
|
643
|
-
- [#1417]: Don't report `done()` was called multiple times when it wasn't ([@frankleonrose])
|
|
603
|
+
- [#1417](https://github.com/mochajs/mocha/issues/1417): Don't report `done()` was called multiple times when it wasn't ([@frankleonrose](https://github.com/frankleonrose))
|
|
644
604
|
|
|
645
605
|
## :nut_and_bolt: Other
|
|
646
606
|
|
|
647
|
-
- [#2490]: Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic])
|
|
648
|
-
- [#2525]: Lint all `.js` files ([@boneskull])
|
|
649
|
-
- [#2524]: Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull])
|
|
650
|
-
|
|
651
|
-
[#1417]: https://github.com/mochajs/mocha/issues/1417
|
|
652
|
-
[#2490]: https://github.com/mochajs/mocha/issues/2490
|
|
653
|
-
[#2525]: https://github.com/mochajs/mocha/issues/2525
|
|
654
|
-
[#2524]: https://github.com/mochajs/mocha/issues/2524
|
|
655
|
-
[@makepanic]: https://github.com/makepanic
|
|
656
|
-
[@frankleonrose]: https://github.com/frankleonrose
|
|
607
|
+
- [#2490](https://github.com/mochajs/mocha/issues/2490): Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic](https://github.com/makepanic))
|
|
608
|
+
- [#2525](https://github.com/mochajs/mocha/issues/2525): Lint all `.js` files ([@boneskull](https://github.com/boneskull))
|
|
609
|
+
- [#2524](https://github.com/mochajs/mocha/issues/2524): Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull](https://github.com/boneskull))
|
|
657
610
|
|
|
658
611
|
# 3.1.0 / 2016-09-27
|
|
659
612
|
|
|
660
613
|
## :tada: Enhancement
|
|
661
614
|
|
|
662
|
-
- [#2357]: Support `--inspect` on command-line ([@simov])
|
|
663
|
-
- [#2194]: Human-friendly error if no files are matched on command-line ([@Munter])
|
|
664
|
-
- [#1744]: Human-friendly error if a Suite has no callback (BDD/TDD only) ([@anton])
|
|
615
|
+
- [#2357](https://github.com/mochajs/mocha/issues/2357): Support `--inspect` on command-line ([@simov](https://github.com/simov))
|
|
616
|
+
- [#2194](https://github.com/mochajs/mocha/issues/2194): Human-friendly error if no files are matched on command-line ([@Munter](https://github.com/munter))
|
|
617
|
+
- [#1744](https://github.com/mochajs/mocha/issues/1744): Human-friendly error if a Suite has no callback (BDD/TDD only) ([@anton](https://github.com/anton))
|
|
665
618
|
|
|
666
619
|
## :bug: Bug Fix
|
|
667
620
|
|
|
668
|
-
- [#2488]: Fix case in which
|
|
669
|
-
- [#2465]: Always halt execution in async function when `this.skip()` is called ([@boneskull])
|
|
670
|
-
- [#2445]: Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter])
|
|
671
|
-
- [#2315]: Fix uncaught TypeError thrown from callback stack ([@1999])
|
|
672
|
-
- Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull])
|
|
673
|
-
- [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull])
|
|
674
|
-
- [#2496]: Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull])
|
|
675
|
-
|
|
676
|
-
[#2496]: https://github.com/mochajs/mocha/issues/2496
|
|
677
|
-
[#2502]: https://github.com/mochajs/mocha/issues/2502
|
|
678
|
-
[#2315]: https://github.com/mochajs/mocha/issues/2315
|
|
679
|
-
[#2445]: https://github.com/mochajs/mocha/pull/2445
|
|
680
|
-
[#2465]: https://github.com/mochajs/mocha/issues/2465
|
|
681
|
-
[#2488]: https://github.com/mochajs/mocha/issues/2488
|
|
682
|
-
[#1744]: https://github.com/mochajs/mocha/issues/1744
|
|
683
|
-
[#2194]: https://github.com/mochajs/mocha/issues/2194
|
|
684
|
-
[#2357]: https://github.com/mochajs/mocha/issues/2357
|
|
685
|
-
[@1999]: https://github.com/1999
|
|
686
|
-
[@JustATrick]: https://github.com/JustATrick
|
|
687
|
-
[@anton]: https://github.com/anton
|
|
688
|
-
[@simov]: https://github.com/simov
|
|
621
|
+
- [#2488](https://github.com/mochajs/mocha/issues/2488): Fix case in which _variables beginning with lowercase "D"_ may not have been reported properly as global leaks ([@JustATrick](https://github.com/JustATrick)) :laughing:
|
|
622
|
+
- [#2465](https://github.com/mochajs/mocha/issues/2465): Always halt execution in async function when `this.skip()` is called ([@boneskull](https://github.com/boneskull))
|
|
623
|
+
- [#2445](https://github.com/mochajs/mocha/pull/2445): Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter](https://github.com/munter))
|
|
624
|
+
- [#2315](https://github.com/mochajs/mocha/issues/2315): Fix uncaught TypeError thrown from callback stack ([@1999](https://github.com/1999))
|
|
625
|
+
- Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull](https://github.com/boneskull))
|
|
626
|
+
- [#2502](https://github.com/mochajs/mocha/issues/2502): Fix broken stack trace filter on Node.js under Windows ([@boneskull](https://github.com/boneskull))
|
|
627
|
+
- [#2496](https://github.com/mochajs/mocha/issues/2496): Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull](https://github.com/boneskull))
|
|
689
628
|
|
|
690
629
|
# 3.0.2 / 2016-08-08
|
|
691
630
|
|
|
692
631
|
## :bug: Bug Fix
|
|
693
632
|
|
|
694
|
-
- [#2424]: Fix error loading Mocha via Require.js ([@boneskull])
|
|
695
|
-
- [#2417]: Fix execution of
|
|
696
|
-
- Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull])
|
|
697
|
-
|
|
698
|
-
[#2417]: https://github.com/mochajs/mocha/issues/2417
|
|
699
|
-
[#2424]: https://github.com/mochajs/mocha/issues/2424
|
|
633
|
+
- [#2424](https://github.com/mochajs/mocha/issues/2424): Fix error loading Mocha via Require.js ([@boneskull](https://github.com/boneskull))
|
|
634
|
+
- [#2417](https://github.com/mochajs/mocha/issues/2417): Fix execution of _deeply_ nested `describe.only()` suites ([@not-an-aardvark](https://github.com/not-an-aardvark))
|
|
635
|
+
- Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull](https://github.com/boneskull))
|
|
700
636
|
|
|
701
637
|
# 3.0.1 / 2016-08-03
|
|
702
638
|
|
|
703
639
|
## :bug: Bug Fix
|
|
704
640
|
|
|
705
|
-
- [#2406]: Restore execution of nested `describe.only()` suites ([@not-an-aardvark])
|
|
706
|
-
|
|
707
|
-
[#2406]: https://github.com/mochajs/mocha/issues/2406
|
|
708
|
-
[@not-an-aardvark]: https://github.com/not-an-aardvark
|
|
641
|
+
- [#2406](https://github.com/mochajs/mocha/issues/2406): Restore execution of nested `describe.only()` suites ([@not-an-aardvark](https://github.com/not-an-aardvark))
|
|
709
642
|
|
|
710
643
|
# 3.0.0 / 2016-07-31
|
|
711
644
|
|
|
@@ -714,9 +647,9 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
714
647
|
- :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**.
|
|
715
648
|
- :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 (`^`).
|
|
716
649
|
- `.only()` is no longer "fuzzy", can be used multiple times, and generally just works like you think it should. :joy:
|
|
717
|
-
- To avoid common bugs, when a test injects a callback function (suggesting asynchronous execution), calls it,
|
|
650
|
+
- 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:
|
|
718
651
|
|
|
719
|
-
|
|
652
|
+
\```js
|
|
720
653
|
const assert = require('assert');
|
|
721
654
|
|
|
722
655
|
it('should complete this test', function (done) {
|
|
@@ -726,10 +659,10 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
726
659
|
})
|
|
727
660
|
.then(done);
|
|
728
661
|
});
|
|
729
|
-
|
|
662
|
+
\```
|
|
730
663
|
|
|
731
664
|
The above test will fail with `Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.`.
|
|
732
|
-
- When a test timeout value
|
|
665
|
+
- 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.
|
|
733
666
|
- The `dot` reporter now uses more visually distinctive characters when indicating "pending" and "failed" tests.
|
|
734
667
|
- Mocha no longer supports [component](https://www.npmjs.com/package/component).
|
|
735
668
|
- The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to the "node-jscoverage" project--have been removed.
|
|
@@ -737,101 +670,56 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
|
|
|
737
670
|
|
|
738
671
|
## :tada: Enhancements
|
|
739
672
|
|
|
740
|
-
- [#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])
|
|
741
|
-
- [#2000]: Use distinctive characters in `dot` reporter; `,` will denote a "pending" test and `!` will denote a "failing" test. ([@elliottcable])
|
|
742
|
-
- [#1632]: Throw a useful exception when a suite or test lacks a title. ([@a8m])
|
|
743
|
-
- [#1481]: Better `.only()` behavior. ([@a8m])
|
|
744
|
-
- [#2334]: Allow `this.skip()` in async tests and hooks. ([@boneskull])
|
|
745
|
-
- [#1320]: Throw a useful exception when test resolution method is overspecified. ([@jugglinmike])
|
|
746
|
-
- [#2364]: Support `--preserve-symlinks`. ([@rosswarren])
|
|
673
|
+
- [#808](https://github.com/mochajs/mocha/issues/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](https://github.com/a8m))
|
|
674
|
+
- [#2000](https://github.com/mochajs/mocha/pull/2000): Use distinctive characters in `dot` reporter; `,` will denote a "pending" test and `!` will denote a "failing" test. ([@elliottcable](https://github.com/elliottcable))
|
|
675
|
+
- [#1632](https://github.com/mochajs/mocha/issues/1632): Throw a useful exception when a suite or test lacks a title. ([@a8m](https://github.com/a8m))
|
|
676
|
+
- [#1481](https://github.com/mochajs/mocha/issues/1481): Better `.only()` behavior. ([@a8m](https://github.com/a8m))
|
|
677
|
+
- [#2334](https://github.com/mochajs/mocha/issues/2334): Allow `this.skip()` in async tests and hooks. ([@boneskull](https://github.com/boneskull))
|
|
678
|
+
- [#1320](https://github.com/mochajs/mocha/pull/1320): Throw a useful exception when test resolution method is overspecified. ([@jugglinmike](https://github.com/jugglinmike))
|
|
679
|
+
- [#2364](https://github.com/mochajs/mocha/pull/2364): Support `--preserve-symlinks`. ([@rosswarren](https://github.com/rosswarren))
|
|
747
680
|
|
|
748
681
|
## :bug: Bug Fixes
|
|
749
682
|
|
|
750
|
-
- [#2259]: Restore ES3 compatibility. Specifically, support an environment lacking `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation of `JSON`. ([@ndhoule], [@boneskull])
|
|
751
|
-
- [#2286]: Fix `after()` failing to execute if test skipped using `this.skip()` in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacontin], [@boneskull])
|
|
752
|
-
- [#2208]: Fix function name display in `markdown` and `html` (browser) reporters. ([@ScottFreeCode])
|
|
753
|
-
- [#2299]: Fix progress bar in `html` (browser) reporter. ([@AviVahl])
|
|
754
|
-
- [#2307]: Fix `doc` reporter crashing when test fails. ([@jleyba])
|
|
755
|
-
- [#2323]: Ensure browser entry point (`browser-entry.js`) is published to npm (for use with bundlers). ([@boneskull])
|
|
756
|
-
- [#2310]: Ensure custom reporter with an absolute path works in Windows. ([@silentcloud])
|
|
757
|
-
- [#2311]: Fix problem wherein calling `this.slow()` without a value would blast any previously set value. ([@boneskull])
|
|
758
|
-
- [#1813]: Ensure Mocha's own test suite will run in Windows. ([@tswaters], [@TimothyGu], [@boneskull])
|
|
759
|
-
- [#2317]: Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFreeCode])
|
|
760
|
-
- [#1644]: Don't exhibit undefined behavior when calling `this.timeout()` with very large values ([@callumacrae], [@boneskull])
|
|
761
|
-
- [#2361]: Don't truncate name of thrown anonymous exception. ([@boneskull])
|
|
762
|
-
- [#2367]: Fix invalid CSS. ([@bensontrent])
|
|
763
|
-
- [#2401]: Remove carriage return before each test line in spec reporter. ([@Munter])
|
|
683
|
+
- [#2259](https://github.com/mochajs/mocha/pull/2259): Restore ES3 compatibility. Specifically, support an environment lacking `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation of `JSON`. ([@ndhoule](https://github.com/ndhoule), [@boneskull](https://github.com/boneskull))
|
|
684
|
+
- [#2286](https://github.com/mochajs/mocha/issues/2286): Fix `after()` failing to execute if test skipped using `this.skip()` in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacontin](https://github.com/dasilvacontin), [@boneskull](https://github.com/boneskull))
|
|
685
|
+
- [#2208](https://github.com/mochajs/mocha/pull/2208): Fix function name display in `markdown` and `html` (browser) reporters. ([@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
686
|
+
- [#2299](https://github.com/mochajs/mocha/pull/2299): Fix progress bar in `html` (browser) reporter. ([@AviVahl](https://github.com/avivahl))
|
|
687
|
+
- [#2307](https://github.com/mochajs/mocha/pull/2307): Fix `doc` reporter crashing when test fails. ([@jleyba](https://github.com/jleyba))
|
|
688
|
+
- [#2323](https://github.com/mochajs/mocha/issues/2323): Ensure browser entry point (`browser-entry.js`) is published to npm (for use with bundlers). ([@boneskull](https://github.com/boneskull))
|
|
689
|
+
- [#2310](https://github.com/mochajs/mocha/issues/2310): Ensure custom reporter with an absolute path works in Windows. ([@silentcloud](https://github.com/silentcloud))
|
|
690
|
+
- [#2311](https://github.com/mochajs/mocha/issues/2311): Fix problem wherein calling `this.slow()` without a value would blast any previously set value. ([@boneskull](https://github.com/boneskull))
|
|
691
|
+
- [#1813](https://github.com/mochajs/mocha/issues/1813): Ensure Mocha's own test suite will run in Windows. ([@tswaters](https://github.com/tswaters), [@TimothyGu](https://github.com/timothygu), [@boneskull](https://github.com/boneskull))
|
|
692
|
+
- [#2317](https://github.com/mochajs/mocha/issues/2317): Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFreeCode](https://github.com/ScottFreeCode))
|
|
693
|
+
- [#1644](https://github.com/mochajs/mocha/issues/1644): Don't exhibit undefined behavior when calling `this.timeout()` with very large values ([@callumacrae](https://github.com/callumacrae), [@boneskull](https://github.com/boneskull))
|
|
694
|
+
- [#2361](https://github.com/mochajs/mocha/pull/2361): Don't truncate name of thrown anonymous exception. ([@boneskull](https://github.com/boneskull))
|
|
695
|
+
- [#2367](https://github.com/mochajs/mocha/pull/2367): Fix invalid CSS. ([@bensontrent](https://github.com/bensontrent))
|
|
696
|
+
- [#2401](https://github.com/mochajs/mocha/pull/2401): Remove carriage return before each test line in spec reporter. ([@Munter](https://github.com/munter))
|
|
764
697
|
|
|
765
698
|
## :nut_and_bolt: Other
|
|
766
699
|
|
|
767
|
-
- Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`, and `supports-color`. ([@boneskull], [@RobLoach])
|
|
768
|
-
- Add Windows to CI. ([@boneskull], [@TimothyGu])
|
|
769
|
-
- Ensure appropriate `engines` field in `package.json`. ([@shinnn], [@boneskull])
|
|
770
|
-
- [#2348]: Upgrade ESLint to v2 ([@anthony-redfox])
|
|
700
|
+
- Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`, and `supports-color`. ([@boneskull](https://github.com/boneskull), [@RobLoach](https://github.com/robloach))
|
|
701
|
+
- Add Windows to CI. ([@boneskull](https://github.com/boneskull), [@TimothyGu](https://github.com/timothygu))
|
|
702
|
+
- Ensure appropriate `engines` field in `package.json`. ([@shinnn](https://github.com/shinnn), [@boneskull](https://github.com/boneskull))
|
|
703
|
+
- [#2348](https://github.com/mochajs/mocha/issues/2348): Upgrade ESLint to v2 ([@anthony-redfox](https://github.com/anthony-redfox))
|
|
771
704
|
|
|
772
705
|
We :heart: our [backers and sponsors](https://opencollective.com/mochajs)!
|
|
773
706
|
|
|
774
707
|
:shipit:
|
|
775
708
|
|
|
776
|
-
[#2401]: https://github.com/mochajs/mocha/pull/2401
|
|
777
|
-
[#2348]: https://github.com/mochajs/mocha/issues/2348
|
|
778
|
-
[#808]: https://github.com/mochajs/mocha/issues/808
|
|
779
|
-
[#2361]: https://github.com/mochajs/mocha/pull/2361
|
|
780
|
-
[#2367]: https://github.com/mochajs/mocha/pull/2367
|
|
781
|
-
[#2364]: https://github.com/mochajs/mocha/pull/2364
|
|
782
|
-
[#1320]: https://github.com/mochajs/mocha/pull/1320
|
|
783
|
-
[#2307]: https://github.com/mochajs/mocha/pull/2307
|
|
784
|
-
[#2259]: https://github.com/mochajs/mocha/pull/2259
|
|
785
|
-
[#2208]: https://github.com/mochajs/mocha/pull/2208
|
|
786
|
-
[#2299]: https://github.com/mochajs/mocha/pull/2299
|
|
787
|
-
[#2286]: https://github.com/mochajs/mocha/issues/2286
|
|
788
|
-
[#1644]: https://github.com/mochajs/mocha/issues/1644
|
|
789
|
-
[#2310]: https://github.com/mochajs/mocha/issues/2310
|
|
790
|
-
[#2311]: https://github.com/mochajs/mocha/issues/2311
|
|
791
|
-
[#2323]: https://github.com/mochajs/mocha/issues/2323
|
|
792
|
-
[#2000]: https://github.com/mochajs/mocha/pull/2000
|
|
793
|
-
[#1632]: https://github.com/mochajs/mocha/issues/1632
|
|
794
|
-
[#1813]: https://github.com/mochajs/mocha/issues/1813
|
|
795
|
-
[#2334]: https://github.com/mochajs/mocha/issues/2334
|
|
796
|
-
[#2317]: https://github.com/mochajs/mocha/issues/2317
|
|
797
|
-
[#1481]: https://github.com/mochajs/mocha/issues/1481
|
|
798
|
-
[@elliottcable]: https://github.com/elliottcable
|
|
799
|
-
[@RobLoach]: https://github.com/robloach
|
|
800
|
-
[@AviVahl]: https://github.com/avivahl
|
|
801
|
-
[@silentcloud]: https://github.com/silentcloud
|
|
802
|
-
[@tswaters]: https://github.com/tswaters
|
|
803
|
-
[@jleyba]: https://github.com/jleyba
|
|
804
|
-
[@TimothyGu]: https://github.com/timothygu
|
|
805
|
-
[@callumacrae]: https://github.com/callumacrae
|
|
806
|
-
[@shinnn]: https://github.com/shinnn
|
|
807
|
-
[@bensontrent]: https://github.com/bensontrent
|
|
808
|
-
[@jugglinmike]: https://github.com/jugglinmike
|
|
809
|
-
[@rosswarren]: https://github.com/rosswarren
|
|
810
|
-
[@anthony-redfox]: https://github.com/anthony-redfox
|
|
811
|
-
[@Munter]: https://github.com/munter
|
|
812
|
-
|
|
813
709
|
# 2.5.3 / 2016-05-25
|
|
814
710
|
|
|
815
|
-
- [#2112] - Fix HTML reporter regression causing duplicate error output ([@danielstjules] via 6d24063)
|
|
816
|
-
- [#2119] - Make HTML reporter failure/passed links preventDefault to avoid SPA's hash navigation ([@jimenglish81] via 9e93efc)
|
|
817
|
-
|
|
818
|
-
[@danielstjules]: https://github.com/danielstjules
|
|
819
|
-
[@jimenglish81]: https://github.com/jimenglish81
|
|
820
|
-
[#2112]: https://github.com/mochajs/mocha/pull/2112
|
|
821
|
-
[#2119]: https://github.com/mochajs/mocha/pull/2119
|
|
711
|
+
- [#2112](https://github.com/mochajs/mocha/pull/2112) - Fix HTML reporter regression causing duplicate error output ([@danielstjules](https://github.com/danielstjules) via [`6d24063`](https://github.com/mochajs/mocha/commit/6d24063))
|
|
712
|
+
- [#2119](https://github.com/mochajs/mocha/pull/2119) - Make HTML reporter failure/passed links preventDefault to avoid SPA's hash navigation ([@jimenglish81](https://github.com/jimenglish81) via [`9e93efc`](https://github.com/mochajs/mocha/commit/9e93efc))
|
|
822
713
|
|
|
823
714
|
# 2.5.2 / 2016-05-24
|
|
824
715
|
|
|
825
|
-
- [#2178] - Avoid double and triple xUnit XML escaping ([@graingert] via 49b5ff1)
|
|
826
|
-
|
|
827
|
-
[@graingert]: https://github.com/graingert
|
|
828
|
-
[#2178]: https://github.com/mochajs/mocha/pull/2178
|
|
716
|
+
- [#2178](https://github.com/mochajs/mocha/pull/2178) - Avoid double and triple xUnit XML escaping ([@graingert](https://github.com/graingert) via [`49b5ff1`](https://github.com/mochajs/mocha/commit/49b5ff1))
|
|
829
717
|
|
|
830
718
|
# 2.5.1 / 2016-05-23
|
|
831
719
|
|
|
832
|
-
- Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@boneskull] via bd9450b)
|
|
720
|
+
- Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@boneskull](https://github.com/boneskull) via [`bd9450b`](https://github.com/mochajs/mocha/commit/bd9450b))
|
|
833
721
|
|
|
834
|
-
Thanks
|
|
722
|
+
Thanks [**@entertainyou**](https://github.com/entertainyou), [**@SimenB**](https://github.com/SimenB), [**@just-paja**](https://github.com/just-paja) for the heads-up.
|
|
835
723
|
|
|
836
724
|
# 2.5.0 / 2016-05-23
|
|
837
725
|
|
|
@@ -847,13 +735,13 @@ We now run unit tests against PhantomJS v1.x and an assortment of browsers on [S
|
|
|
847
735
|
- Safari (latest)
|
|
848
736
|
- Microsoft Edge (latest)
|
|
849
737
|
|
|
850
|
-
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
|
|
738
|
+
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](https://github.com/mochajs/mocha/issues/880) (apologies to [**@mderijcke**](https://github.com/mderijcke) and [**@sukima**](https://github.com/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.
|
|
851
739
|
|
|
852
|
-
Going forward, when sending PRs, your code will
|
|
740
|
+
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).
|
|
853
741
|
|
|
854
742
|
## Node.js 6.x
|
|
855
743
|
|
|
856
|
-
Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "officially" supported. Mocha
|
|
744
|
+
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.
|
|
857
745
|
|
|
858
746
|
## "Minor" Release
|
|
859
747
|
|
|
@@ -863,170 +751,75 @@ You'll see mostly bug fixes below, but also a couple features--as such, it's a "
|
|
|
863
751
|
|
|
864
752
|
Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)!
|
|
865
753
|
|
|
866
|
-
- [#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)
|
|
867
|
-
- [#880] - Make Mocha browserifyable ([@boneskull] via 524862b)
|
|
868
|
-
- [#2121] - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije] via 7920fc4)
|
|
869
|
-
- [#2126] - Fix dupe error messages in stack trace filter ([@Turbo87] via 4301caa)
|
|
870
|
-
- [#2109] - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory] via 61fbb7f)
|
|
871
|
-
- [#1827] - Fix TWBS/`mocha.css` collisions ([@irnc] via 0543798)
|
|
872
|
-
- [#1760], [#1936] - Fix `this.skip()` in HTML reporter ([@mislav] via cb4248b)
|
|
873
|
-
- [#2115] - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules] via e290bc0)
|
|
874
|
-
- [#2089] - Handle Symbol values in `util.stringify()` ([@ryym] via ea61d05)
|
|
875
|
-
- [#2097] - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni] via b20fdfe)
|
|
876
|
-
- [#2101] - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo] via 9c41051)
|
|
877
|
-
- [#2124] - Update [growl](https://npmjs.com/package/growl) ([@benjamine] via 9ae6a85)
|
|
878
|
-
- [#2162], [#2205] - JSDoc fixes ([@OlegTsyba] via 8031f20, [@ScottFreeCode] via f83b1d9)
|
|
879
|
-
- [#2132] - Remove Growl-related cruft ([@julienw] via 00d6469)
|
|
880
|
-
- [#2172] - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman], [@boneskull] via caee94f)
|
|
881
|
-
- [#1841] - Add new logo, banner assets ([@dasilvacontin] via 00fd0e1)
|
|
882
|
-
- [#2214] - Update `README.md` header ([@dasilvacontin] via c0f9be2)
|
|
883
|
-
- [#2236] - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin] via ba5637d)
|
|
884
|
-
- [#2239] - Add Node.js v6.x to CI matrix ([@boneskull] via 3904da4)
|
|
885
|
-
|
|
886
|
-
[#880]: https://github.com/mochajs/mocha/issues/880
|
|
887
|
-
[#1841]: https://github.com/mochajs/mocha/pull/1841
|
|
888
|
-
[#2239]: https://github.com/mochajs/mocha/issues/2239
|
|
889
|
-
[#2153]: https://github.com/mochajs/mocha/pull/2153
|
|
890
|
-
[#2214]: https://github.com/mochajs/mocha/pull/2214
|
|
891
|
-
[#2236]: https://github.com/mochajs/mocha/pull/2236
|
|
892
|
-
[#2079]: https://github.com/mochajs/mocha/issues/2079
|
|
893
|
-
[#2231]: https://github.com/mochajs/mocha/pull/2231
|
|
894
|
-
[#2089]: https://github.com/mochajs/mocha/issues/2089
|
|
895
|
-
[#2097]: https://github.com/mochajs/mocha/pull/2097
|
|
896
|
-
[#1760]: https://github.com/mochajs/mocha/issues/1760
|
|
897
|
-
[#1936]: https://github.com/mochajs/mocha/issues/1936
|
|
898
|
-
[#2115]: https://github.com/mochajs/mocha/pull/2115
|
|
899
|
-
[#1827]: https://github.com/mochajs/mocha/pull/1827
|
|
900
|
-
[#2101]: https://github.com/mochajs/mocha/pull/2101
|
|
901
|
-
[#2124]: https://github.com/mochajs/mocha/pull/2124
|
|
902
|
-
[#2109]: https://github.com/mochajs/mocha/issues/2109
|
|
903
|
-
[#2162]: https://github.com/mochajs/mocha/pull/2162
|
|
904
|
-
[#2132]: https://github.com/mochajs/mocha/issues/2132
|
|
905
|
-
[#2126]: https://github.com/mochajs/mocha/issues/2126
|
|
906
|
-
[#2121]: https://github.com/mochajs/mocha/issues/2121
|
|
907
|
-
[#2205]: https://github.com/mochajs/mocha/pull/2205
|
|
908
|
-
[#2172]: https://github.com/mochajs/mocha/pull/2172
|
|
909
|
-
[@xdamman]: https://github.com/xdamman
|
|
910
|
-
[@Turbo87]: https://github.com/Turbo87
|
|
911
|
-
[@OlegTsyba]: https://github.com/OlegTsyba
|
|
912
|
-
[@ryym]: https://github.com/ryym
|
|
913
|
-
[@mantoni]: https://github.com/mantoni
|
|
914
|
-
[@mislav]: https://github.com/mislav
|
|
915
|
-
[@irnc]: https://github.com/irnc
|
|
916
|
-
[@jkimbo]: https://github.com/jkimbo
|
|
917
|
-
[@benjamine]: https://github.com/benjamine
|
|
918
|
-
[@joshlory]: https://github.com/joshlory
|
|
919
|
-
[@julienw]: https://github.com/julienw
|
|
920
|
-
[@ScottFreeCode]: https://github.com/ScottFreeCode
|
|
921
|
-
[@astorije]: https://github.com/astorije
|
|
922
|
-
[@dasilvacontin]: https://github.com/dasilvacontin
|
|
754
|
+
- [#2079](https://github.com/mochajs/mocha/issues/2079) - Add browser checks to CI; update [browserify](https://npmjs.com/package/browserify) to v13.0.0 ([@dasilvacontin](https://github.com/dasilvacontin), [@ScottFreeCode](https://github.com/ScottFreeCode), [@boneskull](https://github.com/boneskull) via [`c04c1d7`](https://github.com/mochajs/mocha/commit/c04c1d7), [`0b1e9b3`](https://github.com/mochajs/mocha/commit/0b1e9b3), [`0dde0fa`](https://github.com/mochajs/mocha/commit/0dde0fa), [`f8a3d86`](https://github.com/mochajs/mocha/commit/f8a3d86), [`9e8cbaa`](https://github.com/mochajs/mocha/commit/9e8cbaa))
|
|
755
|
+
- [#880](https://github.com/mochajs/mocha/issues/880) - Make Mocha browserifyable ([@boneskull](https://github.com/boneskull) via [`524862b`](https://github.com/mochajs/mocha/commit/524862b))
|
|
756
|
+
- [#2121](https://github.com/mochajs/mocha/issues/2121) - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije](https://github.com/astorije) via [`7920fc4`](https://github.com/mochajs/mocha/commit/7920fc4))
|
|
757
|
+
- [#2126](https://github.com/mochajs/mocha/issues/2126) - Fix dupe error messages in stack trace filter ([@Turbo87](https://github.com/Turbo87) via [`4301caa`](https://github.com/mochajs/mocha/commit/4301caa))
|
|
758
|
+
- [#2109](https://github.com/mochajs/mocha/issues/2109) - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory](https://github.com/joshlory) via [`61fbb7f`](https://github.com/mochajs/mocha/commit/61fbb7f))
|
|
759
|
+
- [#1827](https://github.com/mochajs/mocha/pull/1827) - Fix TWBS/`mocha.css` collisions ([@irnc](https://github.com/irnc) via [`0543798`](https://github.com/mochajs/mocha/commit/0543798))
|
|
760
|
+
- [#1760](https://github.com/mochajs/mocha/issues/1760), [#1936](https://github.com/mochajs/mocha/issues/1936) - Fix `this.skip()` in HTML reporter ([@mislav](https://github.com/mislav) via [`cb4248b`](https://github.com/mochajs/mocha/commit/cb4248b))
|
|
761
|
+
- [#2115](https://github.com/mochajs/mocha/pull/2115) - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules](https://github.com/danielstjules) via [`e290bc0`](https://github.com/mochajs/mocha/commit/e290bc0))
|
|
762
|
+
- [#2089](https://github.com/mochajs/mocha/issues/2089) - Handle Symbol values in `util.stringify()` ([@ryym](https://github.com/ryym) via [`ea61d05`](https://github.com/mochajs/mocha/commit/ea61d05))
|
|
763
|
+
- [#2097](https://github.com/mochajs/mocha/pull/2097) - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni](https://github.com/mantoni) via [`b20fdfe`](https://github.com/mochajs/mocha/commit/b20fdfe))
|
|
764
|
+
- [#2101](https://github.com/mochajs/mocha/pull/2101) - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo](https://github.com/jkimbo) via [`9c41051`](https://github.com/mochajs/mocha/commit/9c41051))
|
|
765
|
+
- [#2124](https://github.com/mochajs/mocha/pull/2124) - Update [growl](https://npmjs.com/package/growl) ([@benjamine](https://github.com/benjamine) via [`9ae6a85`](https://github.com/mochajs/mocha/commit/9ae6a85))
|
|
766
|
+
- [#2162](https://github.com/mochajs/mocha/pull/2162), [#2205](https://github.com/mochajs/mocha/pull/2205) - JSDoc fixes ([@OlegTsyba](https://github.com/OlegTsyba) via [`8031f20`](https://github.com/mochajs/mocha/commit/8031f20), [@ScottFreeCode](https://github.com/ScottFreeCode) via [`f83b1d9`](https://github.com/mochajs/mocha/commit/f83b1d9))
|
|
767
|
+
- [#2132](https://github.com/mochajs/mocha/issues/2132) - Remove Growl-related cruft ([@julienw](https://github.com/julienw) via [`00d6469`](https://github.com/mochajs/mocha/commit/00d6469))
|
|
768
|
+
- [#2172](https://github.com/mochajs/mocha/pull/2172) - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman](https://github.com/xdamman), [@boneskull](https://github.com/boneskull) via [`caee94f`](https://github.com/mochajs/mocha/commit/caee94f))
|
|
769
|
+
- [#1841](https://github.com/mochajs/mocha/pull/1841) - Add new logo, banner assets ([@dasilvacontin](https://github.com/dasilvacontin) via [`00fd0e1`](https://github.com/mochajs/mocha/commit/00fd0e1))
|
|
770
|
+
- [#2214](https://github.com/mochajs/mocha/pull/2214) - Update `README.md` header ([@dasilvacontin](https://github.com/dasilvacontin) via [`c0f9be2`](https://github.com/mochajs/mocha/commit/c0f9be2))
|
|
771
|
+
- [#2236](https://github.com/mochajs/mocha/pull/2236) - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin](https://github.com/dasilvacontin) via [`ba5637d`](https://github.com/mochajs/mocha/commit/ba5637d))
|
|
772
|
+
- [#2239](https://github.com/mochajs/mocha/issues/2239) - Add Node.js v6.x to CI matrix ([@boneskull](https://github.com/boneskull) via [`3904da4`](https://github.com/mochajs/mocha/commit/3904da4))
|
|
923
773
|
|
|
924
774
|
# 2.4.5 / 2016-01-28
|
|
925
775
|
|
|
926
|
-
- [#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])
|
|
927
|
-
- [#2082] - Fix several test assertions ([@mislav])
|
|
928
|
-
|
|
929
|
-
[#1200]: https://github.com/mochajs/mocha/issues/1200
|
|
930
|
-
[#2082]: https://github.com/mochajs/mocha/pull/2082
|
|
776
|
+
- [#2080](https://github.com/mochajs/mocha/issues/2080), [#2078](https://github.com/mochajs/mocha/issues/2078), [#2072](https://github.com/mochajs/mocha/pull/2072), [#2073](https://github.com/mochajs/mocha/pull/2073), [#1200](https://github.com/mochajs/mocha/issues/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](https://github.com/boneskull))
|
|
777
|
+
- [#2082](https://github.com/mochajs/mocha/pull/2082) - Fix several test assertions ([@mislav](https://github.com/mislav))
|
|
931
778
|
|
|
932
779
|
# 2.4.4 / 2016-01-27
|
|
933
780
|
|
|
934
|
-
- [#2080] - Fix broken RequireJS compatibility ([@boneskull])
|
|
935
|
-
|
|
936
|
-
[#2080]: https://github.com/mochajs/mocha/issues/2080
|
|
781
|
+
- [#2080](https://github.com/mochajs/mocha/issues/2080) - Fix broken RequireJS compatibility ([@boneskull](https://github.com/boneskull))
|
|
937
782
|
|
|
938
783
|
# 2.4.3 / 2016-01-27
|
|
939
784
|
|
|
940
|
-
- [#2078] - Fix broken IE8 ([@boneskull])
|
|
941
|
-
|
|
942
|
-
[#2078]: https://github.com/mochajs/mocha/issues/2078
|
|
785
|
+
- [#2078](https://github.com/mochajs/mocha/issues/2078) - Fix broken IE8 ([@boneskull](https://github.com/boneskull))
|
|
943
786
|
|
|
944
787
|
# 2.4.2 / 2016-01-26
|
|
945
788
|
|
|
946
|
-
- [#2053] - Fix web worker compatibility ([@mislav])
|
|
947
|
-
- [#2072] - Fix Windows color output ([@thedark1337])
|
|
948
|
-
- [#2073] - Fix colors in `progress` and `landing` reporters ([@gyandeeps])
|
|
949
|
-
|
|
950
|
-
[#2053]: https://github.com/mochajs/mocha/pull/2053
|
|
951
|
-
[#2072]: https://github.com/mochajs/mocha/pull/2072
|
|
952
|
-
[#2073]: https://github.com/mochajs/mocha/pull/2073
|
|
953
|
-
[@gyandeeps]: https://github.com/gyandeeps
|
|
954
|
-
[@thedark1337]: https://github.com/thedark1337
|
|
789
|
+
- [#2053](https://github.com/mochajs/mocha/pull/2053) - Fix web worker compatibility ([@mislav](https://github.com/mislav))
|
|
790
|
+
- [#2072](https://github.com/mochajs/mocha/pull/2072) - Fix Windows color output ([@thedark1337](https://github.com/thedark1337))
|
|
791
|
+
- [#2073](https://github.com/mochajs/mocha/pull/2073) - Fix colors in `progress` and `landing` reporters ([@gyandeeps](https://github.com/gyandeeps))
|
|
955
792
|
|
|
956
793
|
# 2.4.1 / 2016-01-26
|
|
957
794
|
|
|
958
|
-
- [#2067] - Fix HTML/doc reporter regressions ([@danielstjules])
|
|
959
|
-
|
|
960
|
-
[#2067]: https://github.com/mochajs/mocha/pull/2067
|
|
795
|
+
- [#2067](https://github.com/mochajs/mocha/pull/2067) - Fix HTML/doc reporter regressions ([@danielstjules](https://github.com/danielstjules))
|
|
961
796
|
|
|
962
797
|
# 2.4.0 / 2016-01-25
|
|
963
798
|
|
|
964
|
-
- [#1945] - Correctly skip tests when skipping in suite's before() ([@ryanshawty])
|
|
965
|
-
- [#2056] - chore(license): update license year to 2016 ([@pra85])
|
|
966
|
-
- [#2048] - Fix `this.skip` from spec with HTML reporter ([@mislav])
|
|
967
|
-
- [#2033] - Update tests for newer versions of should.js ([@tomhughes])
|
|
968
|
-
- [#2037] - Fix for memory leak caused by referenced to deferred test ([@bd82])
|
|
969
|
-
- [#2038] - Also run Travis-CI on node.js 4 & 5 ([@bd82])
|
|
970
|
-
- [#2028] - Remove reference to test before afterAll hook runs ([@stonelgh])
|
|
971
|
-
- Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules])
|
|
972
|
-
- [#1977] - safely stringify PhantomJS undefined value ([@ahamid])
|
|
799
|
+
- [#1945](https://github.com/mochajs/mocha/pull/1945) - Correctly skip tests when skipping in suite's before() ([@ryanshawty](https://github.com/ryanshawty))
|
|
800
|
+
- [#2056](https://github.com/mochajs/mocha/pull/2056) - chore(license): update license year to 2016 ([@pra85](https://github.com/pra85))
|
|
801
|
+
- [#2048](https://github.com/mochajs/mocha/pull/2048) - Fix `this.skip` from spec with HTML reporter ([@mislav](https://github.com/mislav))
|
|
802
|
+
- [#2033](https://github.com/mochajs/mocha/pull/2033) - Update tests for newer versions of should.js ([@tomhughes](https://github.com/tomhughes))
|
|
803
|
+
- [#2037](https://github.com/mochajs/mocha/pull/2037) - Fix for memory leak caused by referenced to deferred test ([@bd82](https://github.com/bd82))
|
|
804
|
+
- [#2038](https://github.com/mochajs/mocha/pull/2038) - Also run Travis-CI on node.js 4 & 5 ([@bd82](https://github.com/bd82))
|
|
805
|
+
- [#2028](https://github.com/mochajs/mocha/pull/2028) - Remove reference to test before afterAll hook runs ([@stonelgh](https://github.com/stonelgh))
|
|
806
|
+
- Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules](https://github.com/danielstjules))
|
|
807
|
+
- [#1977](https://github.com/mochajs/mocha/pull/1977) - safely stringify PhantomJS undefined value ([@ahamid](https://github.com/ahamid))
|
|
973
808
|
- Add the ability to retry tests ([@@longlho])
|
|
974
|
-
- [#1982] - Enable --log-timer-events option [@Alaneor]
|
|
975
|
-
- Fix #1980: Load mocha.opts from bin/mocha and bin
|
|
976
|
-
- [#1976] - Simplify function call ([@iclanzan])
|
|
977
|
-
- [#1963] - Add support --perf-basic-prof ([@robraux])
|
|
978
|
-
- [#1981] - Fix HTML reporter handling of done and exceptions ([@Standard8])
|
|
979
|
-
- [#1993] - propagate "file" property for "exports" interface ([@segrey])
|
|
980
|
-
- [#1999] - Add support for strict mode ([@tmont])
|
|
981
|
-
- [#2005] - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves])
|
|
982
|
-
- [#2021] - Fix non ES5 compliant regexp ([@zetaben])
|
|
983
|
-
- [#1965] - Don't double install BDD UI ([@cowboyd])
|
|
984
|
-
- [#1995] - Make sure the xunit output dir exists before writing to it ([@ianwremmel])
|
|
985
|
-
- Use chalk for the base reporter colors; closes #1200 ([@boneskull])
|
|
986
|
-
- Fix requiring custom interfaces ([@jgkim])
|
|
987
|
-
- [#1967] Silence Bluebird js warnings ([@krisr])
|
|
988
|
-
|
|
989
|
-
[#1945]: https://github.com/mochajs/mocha/pull/1945
|
|
990
|
-
[#2056]: https://github.com/mochajs/mocha/pull/2056
|
|
991
|
-
[#2048]: https://github.com/mochajs/mocha/pull/2048
|
|
992
|
-
[#2033]: https://github.com/mochajs/mocha/pull/2033
|
|
993
|
-
[#2037]: https://github.com/mochajs/mocha/pull/2037
|
|
994
|
-
[#2038]: https://github.com/mochajs/mocha/pull/2038
|
|
995
|
-
[#2028]: https://github.com/mochajs/mocha/pull/2028
|
|
996
|
-
[#1977]: https://github.com/mochajs/mocha/pull/1977
|
|
997
|
-
[#1982]: https://github.com/mochajs/mocha/pull/1982
|
|
998
|
-
[#1976]: https://github.com/mochajs/mocha/pull/1976
|
|
999
|
-
[#1963]: https://github.com/mochajs/mocha/pull/1963
|
|
1000
|
-
[#1981]: https://github.com/mochajs/mocha/pull/1981
|
|
1001
|
-
[#1993]: https://github.com/mochajs/mocha/pull/1993
|
|
1002
|
-
[#1999]: https://github.com/mochajs/mocha/pull/1999
|
|
1003
|
-
[#2005]: https://github.com/mochajs/mocha/pull/2005
|
|
1004
|
-
[#2021]: https://github.com/mochajs/mocha/pull/2021
|
|
1005
|
-
[1965#]: https://github.com/mochajs/mocha/pull/1965
|
|
1006
|
-
[#1995]: https://github.com/mochajs/mocha/pull/1995
|
|
1007
|
-
[#1967]: https://github.com/mochajs/mocha/pull/1967
|
|
1008
|
-
[@ryanshawty]: https://github.com/ryanshawty
|
|
1009
|
-
[@pra85]: https://github.com/pra85
|
|
1010
|
-
[@mislav]: https://github.com/mislav
|
|
1011
|
-
[@tomhughes]: https://github.com/tomhughes
|
|
1012
|
-
[@bd82]: https://github.com/bd82
|
|
1013
|
-
[@stonelgh]: https://github.com/stonelgh
|
|
1014
|
-
[@danielstjules]: https://github.com/danielstjules
|
|
1015
|
-
[@ahamid]: https://github.com/ahamid
|
|
1016
|
-
[@longlho]: https://github.com/longlho
|
|
1017
|
-
[@Alaneor]: https://github.com/Alaneor
|
|
1018
|
-
[@iclanzan]: https://github.com/iclanzan
|
|
1019
|
-
[@robraux]: https://github.com/robraux
|
|
1020
|
-
[@Standard8]: https://github.com/Standard8
|
|
1021
|
-
[@segrey]: https://github.com/segrey
|
|
1022
|
-
[@tmont]: https://github.com/tmont
|
|
1023
|
-
[@jonnyreeves]: https://github.com/jonnyreeves
|
|
1024
|
-
[@zetaben]: https://github.com/zetaben
|
|
1025
|
-
[@cowboyd]: https://github.com/cowboyd
|
|
1026
|
-
[@ianwremmel]: https://github.com/ianwremmel
|
|
1027
|
-
[@boneskull]: https://github.com/boneskull
|
|
1028
|
-
[@jgkim]: https://github.com/jgkim
|
|
1029
|
-
[@krisr]: https://github.com/krisr
|
|
809
|
+
- [#1982](https://github.com/mochajs/mocha/pull/1982) - Enable --log-timer-events option [@Alaneor](https://github.com/Alaneor)
|
|
810
|
+
- Fix [#1980](https://github.com/mochajs/mocha/issues/1980): Load mocha.opts from bin/mocha and bin/\_mocha ([@danielstjules](https://github.com/danielstjules))
|
|
811
|
+
- [#1976](https://github.com/mochajs/mocha/pull/1976) - Simplify function call ([@iclanzan](https://github.com/iclanzan))
|
|
812
|
+
- [#1963](https://github.com/mochajs/mocha/pull/1963) - Add support --perf-basic-prof ([@robraux](https://github.com/robraux))
|
|
813
|
+
- [#1981](https://github.com/mochajs/mocha/pull/1981) - Fix HTML reporter handling of done and exceptions ([@Standard8](https://github.com/Standard8))
|
|
814
|
+
- [#1993](https://github.com/mochajs/mocha/pull/1993) - propagate "file" property for "exports" interface ([@segrey](https://github.com/segrey))
|
|
815
|
+
- [#1999](https://github.com/mochajs/mocha/pull/1999) - Add support for strict mode ([@tmont](https://github.com/tmont))
|
|
816
|
+
- [#2005](https://github.com/mochajs/mocha/pull/2005) - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves](https://github.com/jonnyreeves))
|
|
817
|
+
- [#2021](https://github.com/mochajs/mocha/pull/2021) - Fix non ES5 compliant regexp ([@zetaben](https://github.com/zetaben))
|
|
818
|
+
- [#1965] - Don't double install BDD UI ([@cowboyd](https://github.com/cowboyd))
|
|
819
|
+
- [#1995](https://github.com/mochajs/mocha/pull/1995) - Make sure the xunit output dir exists before writing to it ([@ianwremmel](https://github.com/ianwremmel))
|
|
820
|
+
- Use chalk for the base reporter colors; closes [#1200](https://github.com/mochajs/mocha/issues/1200) ([@boneskull](https://github.com/boneskull))
|
|
821
|
+
- Fix requiring custom interfaces ([@jgkim](https://github.com/jgkim))
|
|
822
|
+
- [#1967](https://github.com/mochajs/mocha/pull/1967) Silence Bluebird js warnings ([@krisr](https://github.com/krisr))
|
|
1030
823
|
|
|
1031
824
|
# 2.3.4 / 2015-11-15
|
|
1032
825
|
|
|
@@ -1036,180 +829,89 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1036
829
|
|
|
1037
830
|
# 2.3.3 / 2015-09-19
|
|
1038
831
|
|
|
1039
|
-
- [#1875] - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules])
|
|
1040
|
-
- [#1864] - Fix xunit missing output with --reporter-options output ([@danielstjules])
|
|
1041
|
-
- [#1846] - Support all harmony flags ([@danielstjules])
|
|
1042
|
-
- Fix fragile xunit reporter spec ([@danielstjules])
|
|
1043
|
-
- [#1669] - Fix catch uncaught errors outside test suite execution ([@danielstjules])
|
|
1044
|
-
- [#1868] - Revert jade to support npm
|
|
1045
|
-
- [#1766] - Don't remove modules/components from stack trace in the browser ([@danielstjules])
|
|
1046
|
-
- [#1798] - Fix correctly attribute mutiple done err with hooks ([@danielstjules])
|
|
1047
|
-
- Fix use utils.reduce for IE8 compatibility ([@wsw0108])
|
|
1048
|
-
- Some linting errors fixed by [@danielstjules]
|
|
1049
|
-
- Call the inspect() function if message is not set ([@kevinburke])
|
|
1050
|
-
|
|
1051
|
-
[#1875]: https://github.com/mochajs/mocha/issues/1875
|
|
1052
|
-
[#1864]: https://github.com/mochajs/mocha/issues/1864
|
|
1053
|
-
[#1846]: https://github.com/mochajs/mocha/issues/1846
|
|
1054
|
-
[#1669]: https://github.com/mochajs/mocha/issues/1669
|
|
1055
|
-
[#1868]: https://github.com/mochajs/mocha/issues/1868
|
|
1056
|
-
[#1766]: https://github.com/mochajs/mocha/issues/1766
|
|
1057
|
-
[#1798]: https://github.com/mochajs/mocha/issues/1798
|
|
1058
|
-
[@danielstjules]: https://github.com/danielstjules
|
|
1059
|
-
[@wsw0108]: https://github.com/wsw0108
|
|
1060
|
-
[@kevinburke]: https://github.com/kevinburke
|
|
832
|
+
- [#1875](https://github.com/mochajs/mocha/issues/1875) - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules](https://github.com/danielstjules))
|
|
833
|
+
- [#1864](https://github.com/mochajs/mocha/issues/1864) - Fix xunit missing output with --reporter-options output ([@danielstjules](https://github.com/danielstjules))
|
|
834
|
+
- [#1846](https://github.com/mochajs/mocha/issues/1846) - Support all harmony flags ([@danielstjules](https://github.com/danielstjules))
|
|
835
|
+
- Fix fragile xunit reporter spec ([@danielstjules](https://github.com/danielstjules))
|
|
836
|
+
- [#1669](https://github.com/mochajs/mocha/issues/1669) - Fix catch uncaught errors outside test suite execution ([@danielstjules](https://github.com/danielstjules))
|
|
837
|
+
- [#1868](https://github.com/mochajs/mocha/issues/1868) - Revert jade to support npm < v1.3.7 ([@danielstjules](https://github.com/danielstjules))
|
|
838
|
+
- [#1766](https://github.com/mochajs/mocha/issues/1766) - Don't remove modules/components from stack trace in the browser ([@danielstjules](https://github.com/danielstjules))
|
|
839
|
+
- [#1798](https://github.com/mochajs/mocha/issues/1798) - Fix correctly attribute mutiple done err with hooks ([@danielstjules](https://github.com/danielstjules))
|
|
840
|
+
- Fix use utils.reduce for IE8 compatibility ([@wsw0108](https://github.com/wsw0108))
|
|
841
|
+
- Some linting errors fixed by [@danielstjules](https://github.com/danielstjules)
|
|
842
|
+
- Call the inspect() function if message is not set ([@kevinburke](https://github.com/kevinburke))
|
|
1061
843
|
|
|
1062
844
|
# 2.3.2 / 2015-09-07
|
|
1063
845
|
|
|
1064
|
-
- [#1868] - Fix compatibility with older versions of NPM ([@boneskull])
|
|
1065
|
-
|
|
1066
|
-
[#1868]: https://github.com/mochajs/mocha/issues/1868
|
|
846
|
+
- [#1868](https://github.com/mochajs/mocha/issues/1868) - Fix compatibility with older versions of NPM ([@boneskull](https://github.com/boneskull))
|
|
1067
847
|
|
|
1068
848
|
# 2.3.1 / 2015-09-06
|
|
1069
849
|
|
|
1070
|
-
- [#1812] - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows])
|
|
1071
|
-
|
|
1072
|
-
[#1812]: https://github.com/mochajs/mocha/issues/1812
|
|
1073
|
-
[aaroncrows]: https://github.com/aaroncrows
|
|
850
|
+
- [#1812](https://github.com/mochajs/mocha/issues/1812) - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows])
|
|
1074
851
|
|
|
1075
852
|
# 2.3.0 / 2015-08-30
|
|
1076
853
|
|
|
1077
|
-
- [#553] - added --allowUncaught option ([@amsul])
|
|
1078
|
-
- [#1490] - Allow --async-only to be satisfied by returning a promise ([@jlai])
|
|
1079
|
-
- [#1829] - support --max-old-space-size ([@gigadude])
|
|
1080
|
-
- [#1811] - upgrade Jade dependency ([@outsideris])
|
|
1081
|
-
- [#1769] - Fix async hook error handling ([@ajaykodali])
|
|
1082
|
-
- [#1230] - More descriptive beforeEach/afterEach messages ([@duncanbeevers])
|
|
1083
|
-
- [#1787] - Scope loading behaviour instead of using early return ([@aryeguy])
|
|
1084
|
-
- [#1789] - Fix: html-runner crashing ([@sunesimonsen])
|
|
1085
|
-
- [#1749] - Fix maximum call stack error on large amount of tests ([@tinganho])
|
|
1086
|
-
- [#1230] - Decorate failed hook titles with test title ([@duncanbeevers])
|
|
1087
|
-
- [#1260] - Build using Browserify ([@ndhoule])
|
|
1088
|
-
- [#1728] - Don't use `__proto__` ([@ndhoule])
|
|
1089
|
-
- [#1781] - Fix hook error tests ([@glenjamin])
|
|
1090
|
-
- [#1754] - Allow boolean --reporter-options ([@papandreou])
|
|
1091
|
-
- [#1766] - Fix overly aggressive stack suppression ([@moll])
|
|
1092
|
-
- [#1752] - Avoid potential infinite loop ([@gsilk])
|
|
1093
|
-
- [#1761] - Fix problems running under PhantomJS ([@chromakode])
|
|
1094
|
-
- [#1700] - Fix more problems running under PhantomJS ([@jbnicolai])
|
|
1095
|
-
- [#1774] - Support escaped spaces in CLI options ([@adamgruber])
|
|
1096
|
-
- [#1687] - Fix HTML reporter links with special chars ([@benvinegar])
|
|
1097
|
-
- [#1359] - Adopt code style and enforce it using ESLint ([@ndhoule] w/ assist from [@jbnicolai] & [@boneskull])
|
|
1098
|
-
- various refactors ([@jbnicolai])
|
|
1099
|
-
- [#1758] - Add cross-frame compatible Error checking ([@outdooricon])
|
|
1100
|
-
- [#1741] - Remove moot `version` property from bower.json ([@kkirsche])
|
|
1101
|
-
- [#1739] - Improve `HISTORY.md` ([@rstacruz])
|
|
1102
|
-
- [#1730] - Support more io.js flags ([@ryedog])
|
|
1103
|
-
- [#1349] - Allow HTML in HTML reporter errors ([@papandreou] / [@sunesimonsen])
|
|
1104
|
-
- [#1572] - Prevent default browser behavior for failure/pass links ([@jschilli])
|
|
1105
|
-
- [#1630] - Support underscored harmony flags ([@dominicbarnes])
|
|
1106
|
-
- [#1718] - Support more harmony flags ([@slyg])
|
|
1107
|
-
- [#1689] - Add stack to JSON-stream reporter ([@jonathandelgado])
|
|
1108
|
-
- [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh])
|
|
1109
|
-
|
|
1110
|
-
[#553]: https://github.com/mochajs/mocha/issues/553
|
|
1111
|
-
[#1490]: https://github.com/mochajs/mocha/issues/1490
|
|
1112
|
-
[#1829]: https://github.com/mochajs/mocha/issues/1829
|
|
1113
|
-
[#1811]: https://github.com/mochajs/mocha/issues/1811
|
|
1114
|
-
[#1769]: https://github.com/mochajs/mocha/issues/1769
|
|
1115
|
-
[#1230]: https://github.com/mochajs/mocha/issues/1230
|
|
1116
|
-
[#1787]: https://github.com/mochajs/mocha/issues/1787
|
|
1117
|
-
[#1789]: https://github.com/mochajs/mocha/issues/1789
|
|
1118
|
-
[#1749]: https://github.com/mochajs/mocha/issues/1749
|
|
1119
|
-
[#1230]: https://github.com/mochajs/mocha/issues/1230
|
|
1120
|
-
[#1260]: https://github.com/mochajs/mocha/issues/1260
|
|
1121
|
-
[#1728]: https://github.com/mochajs/mocha/issues/1728
|
|
1122
|
-
[#1781]: https://github.com/mochajs/mocha/issues/1781
|
|
1123
|
-
[#1754]: https://github.com/mochajs/mocha/issues/1754
|
|
1124
|
-
[#1766]: https://github.com/mochajs/mocha/issues/1766
|
|
1125
|
-
[#1752]: https://github.com/mochajs/mocha/issues/1752
|
|
1126
|
-
[#1761]: https://github.com/mochajs/mocha/issues/1761
|
|
1127
|
-
[#1700]: https://github.com/mochajs/mocha/issues/1700
|
|
1128
|
-
[#1774]: https://github.com/mochajs/mocha/issues/1774
|
|
1129
|
-
[#1687]: https://github.com/mochajs/mocha/issues/1687
|
|
1130
|
-
[#1359]: https://github.com/mochajs/mocha/issues/1359
|
|
1131
|
-
[#1758]: https://github.com/mochajs/mocha/issues/1758
|
|
1132
|
-
[#1741]: https://github.com/mochajs/mocha/issues/1741
|
|
1133
|
-
[#1739]: https://github.com/mochajs/mocha/issues/1739
|
|
1134
|
-
[#1730]: https://github.com/mochajs/mocha/issues/1730
|
|
1135
|
-
[#1349]: https://github.com/mochajs/mocha/issues/1349
|
|
1136
|
-
[#1572]: https://github.com/mochajs/mocha/issues/1572
|
|
1137
|
-
[#1630]: https://github.com/mochajs/mocha/issues/1630
|
|
1138
|
-
[#1718]: https://github.com/mochajs/mocha/issues/1718
|
|
1139
|
-
[#1689]: https://github.com/mochajs/mocha/issues/1689
|
|
1140
|
-
[#1654]: https://github.com/mochajs/mocha/issues/1654
|
|
1141
|
-
[@adamgruber]: https://github.com/adamgruber
|
|
1142
|
-
[@ajaykodali]: https://github.com/ajaykodali
|
|
1143
|
-
[@amsul]: https://github.com/amsul
|
|
1144
|
-
[@aryeguy]: https://github.com/aryeguy
|
|
1145
|
-
[@benvinegar]: https://github.com/benvinegar
|
|
1146
|
-
[@boneskull]: https://github.com/boneskull
|
|
1147
|
-
[@chromakode]: https://github.com/chromakode
|
|
1148
|
-
[@dominicbarnes]: https://github.com/dominicbarnes
|
|
1149
|
-
[@duncanbeevers]: https://github.com/duncanbeevers
|
|
1150
|
-
[@gigadude]: https://github.com/gigadude
|
|
1151
|
-
[@glenjamin]: https://github.com/glenjamin
|
|
1152
|
-
[@gsilk]: https://github.com/gsilk
|
|
1153
|
-
[@jakemmarsh]: https://github.com/jakemmarsh
|
|
1154
|
-
[@jbnicolai]: https://github.com/jbnicolai
|
|
1155
|
-
[@jlai]: https://github.com/jlai
|
|
1156
|
-
[@jonathandelgado]: https://github.com/jonathandelgado
|
|
1157
|
-
[@jschilli]: https://github.com/jschilli
|
|
1158
|
-
[@kkirsche]: https://github.com/kkirsche
|
|
1159
|
-
[@moll]: https://github.com/moll
|
|
1160
|
-
[@ndhoule]: https://github.com/ndhoule
|
|
1161
|
-
[@outdooricon]: https://github.com/outdooricon
|
|
1162
|
-
[@outsideris]: https://github.com/outsideris
|
|
1163
|
-
[@papandreou]: https://github.com/papandreou
|
|
1164
|
-
[@rstacruz]: https://github.com/rstacruz
|
|
1165
|
-
[@ryedog]: https://github.com/ryedog
|
|
1166
|
-
[@slyg]: https://github.com/slyg
|
|
1167
|
-
[@sunesimonsen]: https://github.com/sunesimonsen
|
|
1168
|
-
[@tinganho]: https://github.com/tinganho
|
|
854
|
+
- [#553](https://github.com/mochajs/mocha/issues/553) - added --allowUncaught option ([@amsul](https://github.com/amsul))
|
|
855
|
+
- [#1490](https://github.com/mochajs/mocha/issues/1490) - Allow --async-only to be satisfied by returning a promise ([@jlai](https://github.com/jlai))
|
|
856
|
+
- [#1829](https://github.com/mochajs/mocha/issues/1829) - support --max-old-space-size ([@gigadude](https://github.com/gigadude))
|
|
857
|
+
- [#1811](https://github.com/mochajs/mocha/issues/1811) - upgrade Jade dependency ([@outsideris](https://github.com/outsideris))
|
|
858
|
+
- [#1769](https://github.com/mochajs/mocha/issues/1769) - Fix async hook error handling ([@ajaykodali](https://github.com/ajaykodali))
|
|
859
|
+
- [#1230](https://github.com/mochajs/mocha/issues/1230) - More descriptive beforeEach/afterEach messages ([@duncanbeevers](https://github.com/duncanbeevers))
|
|
860
|
+
- [#1787](https://github.com/mochajs/mocha/issues/1787) - Scope loading behaviour instead of using early return ([@aryeguy](https://github.com/aryeguy))
|
|
861
|
+
- [#1789](https://github.com/mochajs/mocha/issues/1789) - Fix: html-runner crashing ([@sunesimonsen](https://github.com/sunesimonsen))
|
|
862
|
+
- [#1749](https://github.com/mochajs/mocha/issues/1749) - Fix maximum call stack error on large amount of tests ([@tinganho](https://github.com/tinganho))
|
|
863
|
+
- [#1230](https://github.com/mochajs/mocha/issues/1230) - Decorate failed hook titles with test title ([@duncanbeevers](https://github.com/duncanbeevers))
|
|
864
|
+
- [#1260](https://github.com/mochajs/mocha/issues/1260) - Build using Browserify ([@ndhoule](https://github.com/ndhoule))
|
|
865
|
+
- [#1728](https://github.com/mochajs/mocha/issues/1728) - Don't use `__proto__` ([@ndhoule](https://github.com/ndhoule))
|
|
866
|
+
- [#1781](https://github.com/mochajs/mocha/issues/1781) - Fix hook error tests ([@glenjamin](https://github.com/glenjamin))
|
|
867
|
+
- [#1754](https://github.com/mochajs/mocha/issues/1754) - Allow boolean --reporter-options ([@papandreou](https://github.com/papandreou))
|
|
868
|
+
- [#1766](https://github.com/mochajs/mocha/issues/1766) - Fix overly aggressive stack suppression ([@moll](https://github.com/moll))
|
|
869
|
+
- [#1752](https://github.com/mochajs/mocha/issues/1752) - Avoid potential infinite loop ([@gsilk](https://github.com/gsilk))
|
|
870
|
+
- [#1761](https://github.com/mochajs/mocha/issues/1761) - Fix problems running under PhantomJS ([@chromakode](https://github.com/chromakode))
|
|
871
|
+
- [#1700](https://github.com/mochajs/mocha/issues/1700) - Fix more problems running under PhantomJS ([@jbnicolai](https://github.com/jbnicolai))
|
|
872
|
+
- [#1774](https://github.com/mochajs/mocha/issues/1774) - Support escaped spaces in CLI options ([@adamgruber](https://github.com/adamgruber))
|
|
873
|
+
- [#1687](https://github.com/mochajs/mocha/issues/1687) - Fix HTML reporter links with special chars ([@benvinegar](https://github.com/benvinegar))
|
|
874
|
+
- [#1359](https://github.com/mochajs/mocha/issues/1359) - Adopt code style and enforce it using ESLint ([@ndhoule](https://github.com/ndhoule) w/ assist from [@jbnicolai](https://github.com/jbnicolai) & [@boneskull](https://github.com/boneskull))
|
|
875
|
+
- various refactors ([@jbnicolai](https://github.com/jbnicolai))
|
|
876
|
+
- [#1758](https://github.com/mochajs/mocha/issues/1758) - Add cross-frame compatible Error checking ([@outdooricon](https://github.com/outdooricon))
|
|
877
|
+
- [#1741](https://github.com/mochajs/mocha/issues/1741) - Remove moot `version` property from bower.json ([@kkirsche](https://github.com/kkirsche))
|
|
878
|
+
- [#1739](https://github.com/mochajs/mocha/issues/1739) - Improve `HISTORY.md` ([@rstacruz](https://github.com/rstacruz))
|
|
879
|
+
- [#1730](https://github.com/mochajs/mocha/issues/1730) - Support more io.js flags ([@ryedog](https://github.com/ryedog))
|
|
880
|
+
- [#1349](https://github.com/mochajs/mocha/issues/1349) - Allow HTML in HTML reporter errors ([@papandreou](https://github.com/papandreou) / [@sunesimonsen](https://github.com/sunesimonsen))
|
|
881
|
+
- [#1572](https://github.com/mochajs/mocha/issues/1572) - Prevent default browser behavior for failure/pass links ([@jschilli](https://github.com/jschilli))
|
|
882
|
+
- [#1630](https://github.com/mochajs/mocha/issues/1630) - Support underscored harmony flags ([@dominicbarnes](https://github.com/dominicbarnes))
|
|
883
|
+
- [#1718](https://github.com/mochajs/mocha/issues/1718) - Support more harmony flags ([@slyg](https://github.com/slyg))
|
|
884
|
+
- [#1689](https://github.com/mochajs/mocha/issues/1689) - Add stack to JSON-stream reporter ([@jonathandelgado](https://github.com/jonathandelgado))
|
|
885
|
+
- [#1654](https://github.com/mochajs/mocha/issues/1654) - Fix `ReferenceError` "location is not defined" ([@jakemmarsh](https://github.com/jakemmarsh))
|
|
1169
886
|
|
|
1170
887
|
# 2.2.5 / 2015-05-14
|
|
1171
888
|
|
|
1172
|
-
- [#1699] - Upgrade jsdiff to v1.4.0 ([@nylen])
|
|
1173
|
-
- [#1648] - fix diff background colors in the console ([@nylen])
|
|
1174
|
-
- [#1327] - fix tests running twice, a regression issue. ([#1686], [@danielstjules])
|
|
1175
|
-
- [#1675] - add integration tests ([@danielstjules])
|
|
1176
|
-
- [#1682] - use a valid SPDX license identifier in package.json ([@kemitchell])
|
|
1177
|
-
- [#1660] - fix assertion of invalid dates ([#1661], [@a8m])
|
|
1178
|
-
- [#1241] - fix issue with multiline diffs appearing as single line ([#1655], [@a8m])
|
|
1179
|
-
|
|
1180
|
-
[#1699]: https://github.com/mochajs/mocha/issues/1699
|
|
1181
|
-
[#1648]: https://github.com/mochajs/mocha/issues/1648
|
|
1182
|
-
[#1327]: https://github.com/mochajs/mocha/issues/1327
|
|
1183
|
-
[#1686]: https://github.com/mochajs/mocha/issues/1686
|
|
1184
|
-
[#1675]: https://github.com/mochajs/mocha/issues/1675
|
|
1185
|
-
[#1682]: https://github.com/mochajs/mocha/issues/1682
|
|
1186
|
-
[#1660]: https://github.com/mochajs/mocha/issues/1660
|
|
1187
|
-
[#1661]: https://github.com/mochajs/mocha/issues/1661
|
|
1188
|
-
[#1241]: https://github.com/mochajs/mocha/issues/1241
|
|
1189
|
-
[#1655]: https://github.com/mochajs/mocha/issues/1655
|
|
1190
|
-
[@nylen]: https://github.com/nylen
|
|
1191
|
-
[@danielstjules]: https://github.com/danielstjules
|
|
1192
|
-
[@kemitchell]: https://github.com/kemitchell
|
|
1193
|
-
[@a8m]: https://github.com/a8m
|
|
889
|
+
- [#1699](https://github.com/mochajs/mocha/issues/1699) - Upgrade jsdiff to v1.4.0 ([@nylen](https://github.com/nylen))
|
|
890
|
+
- [#1648](https://github.com/mochajs/mocha/issues/1648) - fix diff background colors in the console ([@nylen](https://github.com/nylen))
|
|
891
|
+
- [#1327](https://github.com/mochajs/mocha/issues/1327) - fix tests running twice, a regression issue. ([#1686](https://github.com/mochajs/mocha/issues/1686), [@danielstjules](https://github.com/danielstjules))
|
|
892
|
+
- [#1675](https://github.com/mochajs/mocha/issues/1675) - add integration tests ([@danielstjules](https://github.com/danielstjules))
|
|
893
|
+
- [#1682](https://github.com/mochajs/mocha/issues/1682) - use a valid SPDX license identifier in package.json ([@kemitchell](https://github.com/kemitchell))
|
|
894
|
+
- [#1660](https://github.com/mochajs/mocha/issues/1660) - fix assertion of invalid dates ([#1661](https://github.com/mochajs/mocha/issues/1661), [@a8m](https://github.com/a8m))
|
|
895
|
+
- [#1241](https://github.com/mochajs/mocha/issues/1241) - fix issue with multiline diffs appearing as single line ([#1655](https://github.com/mochajs/mocha/issues/1655), [@a8m](https://github.com/a8m))
|
|
1194
896
|
|
|
1195
897
|
# 2.2.4 / 2015-04-08
|
|
1196
898
|
|
|
1197
|
-
- Load mocha.opts in _mocha for now (close #1645)
|
|
899
|
+
- Load mocha.opts in \_mocha for now (close [#1645](https://github.com/mochajs/mocha/issues/1645))
|
|
1198
900
|
|
|
1199
901
|
# 2.2.3 / 2015-04-07
|
|
1200
902
|
|
|
1201
|
-
- fix(reporter/base): string diff - issue #1241
|
|
1202
|
-
- fix(reporter/base): string diff - issue #1241
|
|
903
|
+
- fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
|
|
904
|
+
- fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
|
|
1203
905
|
- fix(reporter/base): don't show diffs for errors without expectation
|
|
1204
906
|
- fix(reporter/base): don't assume error message is first line of stack
|
|
1205
907
|
- improve: dry up reporter/base test
|
|
1206
|
-
- fix(reporter/base): explicitly ignore showDiff #1614
|
|
908
|
+
- fix(reporter/base): explicitly ignore showDiff [#1614](https://github.com/mochajs/mocha/issues/1614)
|
|
1207
909
|
- Add iojs to travis build
|
|
1208
910
|
- Pass `--allow-natives-syntax` flag to node.
|
|
1209
911
|
- Support --harmony_classes flag for io.js
|
|
1210
912
|
- Fix 1556: Update utils.clean to handle newlines in func declarations
|
|
1211
|
-
- Fix 1606: fix err handling in IE
|
|
1212
|
-
- Fix 1585: make _mocha executable again
|
|
913
|
+
- Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers
|
|
914
|
+
- Fix 1585: make \_mocha executable again
|
|
1213
915
|
- chore(package.json): add a8m as a contributor
|
|
1214
916
|
- Fixed broken link on html-cov reporter
|
|
1215
917
|
- support --es_staging flag
|
|
@@ -1219,8 +921,8 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1219
921
|
- Remove contributors list from readme
|
|
1220
922
|
- log third-party reporter errors
|
|
1221
923
|
- [Fix] Exclude not own properties when looping on options
|
|
1222
|
-
- fix: support node args in mocha.opts (close #1573)
|
|
1223
|
-
- fix(reporter/base): string diff - issue #1241
|
|
924
|
+
- fix: support node args in mocha.opts (close [#1573](https://github.com/mochajs/mocha/issues/1573))
|
|
925
|
+
- fix(reporter/base): string diff - issue [#1241](https://github.com/mochajs/mocha/issues/1241)
|
|
1224
926
|
|
|
1225
927
|
# 2.2.1 / 2015-03-09
|
|
1226
928
|
|
|
@@ -1231,30 +933,30 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1231
933
|
- Update mocha.js
|
|
1232
934
|
- Add --fgrep. Use grep for RegExp, fgrep for str
|
|
1233
935
|
- Ignore async global errors after spec resolution
|
|
1234
|
-
- Fixing errors that prevent mocha.js from loading in the browser - fixes #1558
|
|
1235
|
-
- fix(utils): issue #1558 + make
|
|
1236
|
-
- add ability to delay root suite; closes #362, closes #1124
|
|
936
|
+
- Fixing errors that prevent mocha.js from loading in the browser - fixes [#1558](https://github.com/mochajs/mocha/issues/1558)
|
|
937
|
+
- fix(utils): issue [#1558](https://github.com/mochajs/mocha/issues/1558) + make
|
|
938
|
+
- add ability to delay root suite; closes [#362](https://github.com/mochajs/mocha/issues/362), closes [#1124](https://github.com/mochajs/mocha/issues/1124)
|
|
1237
939
|
- fix insanity in http tests
|
|
1238
940
|
- update travis: add node 0.12, add gitter, remove slack
|
|
1239
941
|
- building
|
|
1240
|
-
- resolve #1548: ensure the environment's "node" executable is used
|
|
942
|
+
- resolve [#1548](https://github.com/mochajs/mocha/issues/1548): ensure the environment's "node" executable is used
|
|
1241
943
|
- reporters/base: use supports-color to detect colorable term
|
|
1242
944
|
- travis: use docker containers
|
|
1243
945
|
- small fix: commander option for --expose-gc
|
|
1244
946
|
- Ignore asynchronous errors after global failure
|
|
1245
947
|
- Improve error output when a test fails with a non-error
|
|
1246
948
|
- updated travis badge, uses svg instead of img
|
|
1247
|
-
- Allow skip from test context for #332
|
|
1248
|
-
- [JSHINT] Unnecessary semicolon fixed in bin
|
|
949
|
+
- Allow skip from test context for [#332](https://github.com/mochajs/mocha/issues/332)
|
|
950
|
+
- [JSHINT] Unnecessary semicolon fixed in bin/\_mocha
|
|
1249
951
|
- Added a reminder about the done() callback to test timeout error messages
|
|
1250
|
-
- fixes #1496, in Mocha.run(fn), check if fn exists before executing it, added tests too
|
|
952
|
+
- fixes [#1496](https://github.com/mochajs/mocha/issues/1496), in Mocha.run(fn), check if fn exists before executing it, added tests too
|
|
1251
953
|
- Add Harmony Proxy flag for iojs
|
|
1252
|
-
- test(utils|ms
|
|
954
|
+
- test(utils|ms|\*): test existing units
|
|
1253
955
|
- add support for some iojs flags
|
|
1254
|
-
- fix(utils.stringify): issue #1229, diff viewer
|
|
956
|
+
- fix(utils.stringify): issue [#1229](https://github.com/mochajs/mocha/issues/1229), diff viewer
|
|
1255
957
|
- Remove slack link
|
|
1256
958
|
- Prevent multiple 'grep=' querystring params in html reporter
|
|
1257
|
-
- Use grep as regexp (close #1381)
|
|
959
|
+
- Use grep as regexp (close [#1381](https://github.com/mochajs/mocha/issues/1381))
|
|
1258
960
|
- utils.stringify should handle objects without an Object prototype
|
|
1259
961
|
- in runnable test, comparing to undefined error's message rather than a literal
|
|
1260
962
|
- Fix test running output truncation on async STDIO
|
|
@@ -1271,31 +973,31 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1271
973
|
- update summary in README.md
|
|
1272
974
|
- rename Readme.md/History.md to README.md/HISTORY.md because neurotic
|
|
1273
975
|
- add .mailmap to fix "git shortlog" or "git summary" output
|
|
1274
|
-
- fixes #1461: nyan-reporter now respects Base.useColors, fixed bug where Base.color would not return a string when str wasn't a string.
|
|
976
|
+
- fixes [#1461](https://github.com/mochajs/mocha/issues/1461): nyan-reporter now respects Base.useColors, fixed bug where Base.color would not return a string when str wasn't a string.
|
|
1275
977
|
- Use existing test URL builder in failed replay links
|
|
1276
|
-
- modify .travis.yml: use travis_retry; closes #1449
|
|
1277
|
-
- fix -t 0 behavior; closes #1446
|
|
978
|
+
- modify .travis.yml: use travis_retry; closes [#1449](https://github.com/mochajs/mocha/issues/1449)
|
|
979
|
+
- fix -t 0 behavior; closes [#1446](https://github.com/mochajs/mocha/issues/1446)
|
|
1278
980
|
- fix tests (whoops)
|
|
1279
981
|
- improve diff behavior
|
|
1280
982
|
- Preserve pathname when linking to individual tests
|
|
1281
983
|
- Fix test
|
|
1282
984
|
- Tiny typo in comments fixed
|
|
1283
|
-
- after hooks now being called on failed tests when using bail, fixes #1093
|
|
1284
|
-
- fix throwing undefined/null now makes tests fail, fixes #1395
|
|
1285
|
-
- compiler extensions are added as watched extensions, removed non-standard extensions from watch regex, resolves #1221
|
|
1286
|
-
- prefix/namespace for suite titles in markdown reporter, fixes #554
|
|
985
|
+
- after hooks now being called on failed tests when using bail, fixes [#1093](https://github.com/mochajs/mocha/issues/1093)
|
|
986
|
+
- fix throwing undefined/null now makes tests fail, fixes [#1395](https://github.com/mochajs/mocha/issues/1395)
|
|
987
|
+
- compiler extensions are added as watched extensions, removed non-standard extensions from watch regex, resolves [#1221](https://github.com/mochajs/mocha/issues/1221)
|
|
988
|
+
- prefix/namespace for suite titles in markdown reporter, fixes [#554](https://github.com/mochajs/mocha/issues/554)
|
|
1287
989
|
- fix more bad markdown in CONTRIBUTING.md
|
|
1288
990
|
- fix bad markdown in CONTRIBUTING.md
|
|
1289
|
-
- add setImmediate/clearImmediate to globals; closes #1435
|
|
1290
|
-
- Fix buffer diffs (closes #1132, closes #1433)
|
|
1291
|
-
- add a CONTRIBUTING.md. closes #882
|
|
1292
|
-
- fix intermittent build failures (maybe). closes #1407
|
|
991
|
+
- add setImmediate/clearImmediate to globals; closes [#1435](https://github.com/mochajs/mocha/issues/1435)
|
|
992
|
+
- Fix buffer diffs (closes [#1132](https://github.com/mochajs/mocha/issues/1132), closes [#1433](https://github.com/mochajs/mocha/issues/1433))
|
|
993
|
+
- add a CONTRIBUTING.md. closes [#882](https://github.com/mochajs/mocha/issues/882)
|
|
994
|
+
- fix intermittent build failures (maybe). closes [#1407](https://github.com/mochajs/mocha/issues/1407)
|
|
1293
995
|
- add Slack notification to .travis.yml
|
|
1294
996
|
- Fix slack link
|
|
1295
997
|
- Add slack room to readme
|
|
1296
998
|
- Update maintainers
|
|
1297
999
|
- update maintainers and contributors
|
|
1298
|
-
- resolves #1393: kill children with more effort on SIGINT
|
|
1000
|
+
- resolves [#1393](https://github.com/mochajs/mocha/issues/1393): kill children with more effort on SIGINT
|
|
1299
1001
|
- xunit reporter support for optionally writing to a file
|
|
1300
1002
|
- if a reporter has a .done method, call it before exiting
|
|
1301
1003
|
- add support for reporter options
|
|
@@ -1304,11 +1006,11 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1304
1006
|
# 2.0.0 / 2014-10-21
|
|
1305
1007
|
|
|
1306
1008
|
- remove: support for node 0.6.x, 0.4.x
|
|
1307
|
-
- fix: landing reporter with non ansi characters (#211)
|
|
1308
|
-
- fix: html reporter - preserve query params when navigating to suites/tests (#1358)
|
|
1009
|
+
- fix: landing reporter with non ansi characters ([#211](https://github.com/mochajs/mocha/issues/211))
|
|
1010
|
+
- fix: html reporter - preserve query params when navigating to suites/tests ([#1358](https://github.com/mochajs/mocha/issues/1358))
|
|
1309
1011
|
- fix: json stream reporter add error message to failed test
|
|
1310
1012
|
- fix: fixes for visionmedia -> mochajs
|
|
1311
|
-
- fix: use stdio, fixes node deprecation warnings (#1391)
|
|
1013
|
+
- fix: use stdio, fixes node deprecation warnings ([#1391](https://github.com/mochajs/mocha/issues/1391))
|
|
1312
1014
|
|
|
1313
1015
|
# 1.21.5 / 2014-10-11
|
|
1314
1016
|
|
|
@@ -1320,99 +1022,99 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1320
1022
|
- fix: changed 'Catched' to 'Caught' in uncaught exception error handler messages
|
|
1321
1023
|
- add: `pending` field for json reporter
|
|
1322
1024
|
- fix: Runner.prototype.uncaught: don't double-end runnables that already have a state.
|
|
1323
|
-
- fix: --recursive, broken by f0facd2e
|
|
1025
|
+
- fix: --recursive, broken by [`f0facd2`](https://github.com/mochajs/mocha/commit/f0facd2e)
|
|
1324
1026
|
- update: replaces escapeRegexp with the escape-string-regexp package.
|
|
1325
1027
|
- update: commander to 2.3.0.
|
|
1326
1028
|
- update: diff to 1.0.8.
|
|
1327
|
-
- fix: ability to disable syntax highlighting (#1329)
|
|
1029
|
+
- fix: ability to disable syntax highlighting ([#1329](https://github.com/mochajs/mocha/issues/1329))
|
|
1328
1030
|
- fix: added empty object to errorJSON() call to catch when no error is present
|
|
1329
1031
|
- fix: never time out after calling enableTimeouts(false)
|
|
1330
|
-
- fix: timeout(0) will work at suite level (#1300)
|
|
1331
|
-
- Fix for --watch+only() issue (#888 )
|
|
1332
|
-
- fix: respect err.showDiff, add Base reporter test (#810)
|
|
1032
|
+
- fix: timeout(0) will work at suite level ([#1300](https://github.com/mochajs/mocha/issues/1300))
|
|
1033
|
+
- Fix for --watch+only() issue ([#888](https://github.com/mochajs/mocha/issues/888) )
|
|
1034
|
+
- fix: respect err.showDiff, add Base reporter test ([#810](https://github.com/mochajs/mocha/issues/810))
|
|
1333
1035
|
|
|
1334
1036
|
# 1.22.1-3 / 2014-07-27
|
|
1335
1037
|
|
|
1336
|
-
- fix: disabling timeouts with this.timeout(0) (#1301)
|
|
1038
|
+
- fix: disabling timeouts with this.timeout(0) ([#1301](https://github.com/mochajs/mocha/issues/1301))
|
|
1337
1039
|
|
|
1338
1040
|
# 1.22.1-3 / 2014-07-27
|
|
1339
1041
|
|
|
1340
|
-
- fix: local uis and reporters (#1288)
|
|
1341
|
-
- fix: building 1.21.0's changes in the browser (#1284)
|
|
1042
|
+
- fix: local uis and reporters ([#1288](https://github.com/mochajs/mocha/issues/1288))
|
|
1043
|
+
- fix: building 1.21.0's changes in the browser ([#1284](https://github.com/mochajs/mocha/issues/1284))
|
|
1342
1044
|
|
|
1343
1045
|
# 1.21.0 / 2014-07-23
|
|
1344
1046
|
|
|
1345
|
-
- add: --no-timeouts option (#1262, #1268)
|
|
1346
|
-
- add:
|
|
1347
|
-
- add: --watch-extensions argument (#1247)
|
|
1348
|
-
- change: spec reporter is default (#1228)
|
|
1349
|
-
- fix: diff output showing incorrect +/- (#1182)
|
|
1350
|
-
- fix: diffs of circular structures (#1179)
|
|
1351
|
-
- fix: re-render the progress bar when progress has changed only (#1151)
|
|
1352
|
-
- fix support for environments with global and window (#1159)
|
|
1353
|
-
- fix: reverting to previously defined onerror handler (#1178)
|
|
1354
|
-
- fix: stringify non error objects passed to done() (#1270)
|
|
1355
|
-
- fix: using local ui, reporters (#1267)
|
|
1356
|
-
- fix: cleaning es6 arrows (#1176)
|
|
1357
|
-
- fix: don't include attrs in failure tag for xunit (#1244)
|
|
1358
|
-
- fix: fail tests that return a promise if promise is rejected w/o a reason (#1224)
|
|
1359
|
-
- fix: showing failed tests in doc reporter (#1117)
|
|
1360
|
-
- fix: dot reporter dots being off (#1204)
|
|
1361
|
-
- fix: catch empty throws (#1219)
|
|
1362
|
-
- fix: honoring timeout for sync operations (#1242)
|
|
1047
|
+
- add: --no-timeouts option ([#1262](https://github.com/mochajs/mocha/issues/1262), [#1268](https://github.com/mochajs/mocha/issues/1268))
|
|
1048
|
+
- add: --\*- deprecation node flags ([#1217](https://github.com/mochajs/mocha/issues/1217))
|
|
1049
|
+
- add: --watch-extensions argument ([#1247](https://github.com/mochajs/mocha/issues/1247))
|
|
1050
|
+
- change: spec reporter is default ([#1228](https://github.com/mochajs/mocha/issues/1228))
|
|
1051
|
+
- fix: diff output showing incorrect +/- ([#1182](https://github.com/mochajs/mocha/issues/1182))
|
|
1052
|
+
- fix: diffs of circular structures ([#1179](https://github.com/mochajs/mocha/issues/1179))
|
|
1053
|
+
- fix: re-render the progress bar when progress has changed only ([#1151](https://github.com/mochajs/mocha/issues/1151))
|
|
1054
|
+
- fix support for environments with global and window ([#1159](https://github.com/mochajs/mocha/issues/1159))
|
|
1055
|
+
- fix: reverting to previously defined onerror handler ([#1178](https://github.com/mochajs/mocha/issues/1178))
|
|
1056
|
+
- fix: stringify non error objects passed to done() ([#1270](https://github.com/mochajs/mocha/issues/1270))
|
|
1057
|
+
- fix: using local ui, reporters ([#1267](https://github.com/mochajs/mocha/issues/1267))
|
|
1058
|
+
- fix: cleaning es6 arrows ([#1176](https://github.com/mochajs/mocha/issues/1176))
|
|
1059
|
+
- fix: don't include attrs in failure tag for xunit ([#1244](https://github.com/mochajs/mocha/issues/1244))
|
|
1060
|
+
- fix: fail tests that return a promise if promise is rejected w/o a reason ([#1224](https://github.com/mochajs/mocha/issues/1224))
|
|
1061
|
+
- fix: showing failed tests in doc reporter ([#1117](https://github.com/mochajs/mocha/issues/1117))
|
|
1062
|
+
- fix: dot reporter dots being off ([#1204](https://github.com/mochajs/mocha/issues/1204))
|
|
1063
|
+
- fix: catch empty throws ([#1219](https://github.com/mochajs/mocha/issues/1219))
|
|
1064
|
+
- fix: honoring timeout for sync operations ([#1242](https://github.com/mochajs/mocha/issues/1242))
|
|
1363
1065
|
- update: growl to 1.8.0
|
|
1364
1066
|
|
|
1365
1067
|
# 1.20.1 / 2014-06-03
|
|
1366
1068
|
|
|
1367
|
-
- update: should dev dependency to ~4.0.0 (#1231)
|
|
1069
|
+
- update: should dev dependency to ~4.0.0 ([#1231](https://github.com/mochajs/mocha/issues/1231))
|
|
1368
1070
|
|
|
1369
1071
|
# 1.20.0 / 2014-05-28
|
|
1370
1072
|
|
|
1371
|
-
- add: filenames to suite objects (#1222)
|
|
1073
|
+
- add: filenames to suite objects ([#1222](https://github.com/mochajs/mocha/issues/1222))
|
|
1372
1074
|
|
|
1373
1075
|
# 1.19.0 / 2014-05-17
|
|
1374
1076
|
|
|
1375
1077
|
- add: browser script option to package.json
|
|
1376
|
-
- add: export file in Mocha.Test objects (#1174)
|
|
1078
|
+
- add: export file in Mocha.Test objects ([#1174](https://github.com/mochajs/mocha/issues/1174))
|
|
1377
1079
|
- add: add docs for wrapped node flags
|
|
1378
|
-
- fix: mocha.run() to return error status in browser (#1216)
|
|
1379
|
-
- fix: clean() to show failure details (#1205)
|
|
1380
|
-
- fix: regex that generates html for new keyword (#1201)
|
|
1381
|
-
- fix: sibling suites have inherited but separate contexts (#1164)
|
|
1080
|
+
- fix: mocha.run() to return error status in browser ([#1216](https://github.com/mochajs/mocha/issues/1216))
|
|
1081
|
+
- fix: clean() to show failure details ([#1205](https://github.com/mochajs/mocha/issues/1205))
|
|
1082
|
+
- fix: regex that generates html for new keyword ([#1201](https://github.com/mochajs/mocha/issues/1201))
|
|
1083
|
+
- fix: sibling suites have inherited but separate contexts ([#1164](https://github.com/mochajs/mocha/issues/1164))
|
|
1382
1084
|
|
|
1383
1085
|
# 1.18.2 / 2014-03-18
|
|
1384
1086
|
|
|
1385
|
-
- fix: html runner was prevented from using #mocha as the default root el (#1162)
|
|
1087
|
+
- fix: html runner was prevented from using #mocha as the default root el ([#1162](https://github.com/mochajs/mocha/issues/1162))
|
|
1386
1088
|
|
|
1387
1089
|
# 1.18.1 / 2014-03-18
|
|
1388
1090
|
|
|
1389
|
-
- fix: named before/after hooks in bdd, tdd, qunit interfaces (#1161)
|
|
1091
|
+
- fix: named before/after hooks in bdd, tdd, qunit interfaces ([#1161](https://github.com/mochajs/mocha/issues/1161))
|
|
1390
1092
|
|
|
1391
1093
|
# 1.18.0 / 2014-03-13
|
|
1392
1094
|
|
|
1393
|
-
- add: promise support (#329)
|
|
1394
|
-
- add: named before/after hooks (#966)
|
|
1095
|
+
- add: promise support ([#329](https://github.com/mochajs/mocha/issues/329))
|
|
1096
|
+
- add: named before/after hooks ([#966](https://github.com/mochajs/mocha/issues/966))
|
|
1395
1097
|
|
|
1396
1098
|
# 1.17.1 / 2014-01-22
|
|
1397
1099
|
|
|
1398
1100
|
- fix: expected messages in should.js (should.js#168)
|
|
1399
|
-
- fix: expect errno global in node versions
|
|
1400
|
-
- fix: unreliable checkGlobals optimization (#1110)
|
|
1101
|
+
- fix: expect errno global in node versions < v0.9.11 ([#1111](https://github.com/mochajs/mocha/issues/1111))
|
|
1102
|
+
- fix: unreliable checkGlobals optimization ([#1110](https://github.com/mochajs/mocha/issues/1110))
|
|
1401
1103
|
|
|
1402
1104
|
# 1.17.0 / 2014-01-09
|
|
1403
1105
|
|
|
1404
|
-
- add: able to require globals (describe, it, etc.) through mocha (#1077)
|
|
1405
|
-
- fix: abort previous run on --watch change (#1100)
|
|
1406
|
-
- fix: reset context for each --watch triggered run (#1099)
|
|
1407
|
-
- fix: error when cli can't resolve path or pattern (#799)
|
|
1408
|
-
- fix: canonicalize objects before stringifying and diffing them (#1079)
|
|
1409
|
-
- fix: make CR call behave like carriage return for non tty (#1087)
|
|
1106
|
+
- add: able to require globals (describe, it, etc.) through mocha ([#1077](https://github.com/mochajs/mocha/issues/1077))
|
|
1107
|
+
- fix: abort previous run on --watch change ([#1100](https://github.com/mochajs/mocha/issues/1100))
|
|
1108
|
+
- fix: reset context for each --watch triggered run ([#1099](https://github.com/mochajs/mocha/issues/1099))
|
|
1109
|
+
- fix: error when cli can't resolve path or pattern ([#799](https://github.com/mochajs/mocha/issues/799))
|
|
1110
|
+
- fix: canonicalize objects before stringifying and diffing them ([#1079](https://github.com/mochajs/mocha/issues/1079))
|
|
1111
|
+
- fix: make CR call behave like carriage return for non tty ([#1087](https://github.com/mochajs/mocha/issues/1087))
|
|
1410
1112
|
|
|
1411
1113
|
# 1.16.2 / 2013-12-23
|
|
1412
1114
|
|
|
1413
|
-
- fix: couple issues with ie 8 (#1082, #1081)
|
|
1414
|
-
- fix: issue running the xunit reporter in browsers (#1068)
|
|
1415
|
-
- fix: issue with firefox
|
|
1115
|
+
- fix: couple issues with ie 8 ([#1082](https://github.com/mochajs/mocha/issues/1082), [#1081](https://github.com/mochajs/mocha/issues/1081))
|
|
1116
|
+
- fix: issue running the xunit reporter in browsers ([#1068](https://github.com/mochajs/mocha/issues/1068))
|
|
1117
|
+
- fix: issue with firefox < 3.5 ([#725](https://github.com/mochajs/mocha/issues/725))
|
|
1416
1118
|
|
|
1417
1119
|
# 1.16.1 / 2013-12-19
|
|
1418
1120
|
|
|
@@ -1420,17 +1122,17 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1420
1122
|
|
|
1421
1123
|
# 1.16.0 / 2013-12-19
|
|
1422
1124
|
|
|
1423
|
-
- add: Runnable.globals(arr) for per test global whitelist (#1046)
|
|
1424
|
-
- add: mocha.throwError(err) for assertion libs to call (#985)
|
|
1425
|
-
- remove: --watch's spinner (#806)
|
|
1426
|
-
- fix: duplicate test output for multi-line specs in spec reporter (#1006)
|
|
1427
|
-
- fix: gracefully exit on SIGINT (#1063)
|
|
1428
|
-
- fix expose the specified ui only in the browser (#984)
|
|
1429
|
-
- fix: ensure process exit code is preserved when using --no-exit (#1059)
|
|
1430
|
-
- fix: return true from window.onerror handler (#868)
|
|
1431
|
-
- fix: xunit reporter to use process.stdout.write (#1068)
|
|
1432
|
-
- fix: utils.clean(str) indentation (#761)
|
|
1433
|
-
- fix: xunit reporter returning test duration a NaN (#1039)
|
|
1125
|
+
- add: Runnable.globals(arr) for per test global whitelist ([#1046](https://github.com/mochajs/mocha/issues/1046))
|
|
1126
|
+
- add: mocha.throwError(err) for assertion libs to call ([#985](https://github.com/mochajs/mocha/issues/985))
|
|
1127
|
+
- remove: --watch's spinner ([#806](https://github.com/mochajs/mocha/issues/806))
|
|
1128
|
+
- fix: duplicate test output for multi-line specs in spec reporter ([#1006](https://github.com/mochajs/mocha/issues/1006))
|
|
1129
|
+
- fix: gracefully exit on SIGINT ([#1063](https://github.com/mochajs/mocha/issues/1063))
|
|
1130
|
+
- fix expose the specified ui only in the browser ([#984](https://github.com/mochajs/mocha/issues/984))
|
|
1131
|
+
- fix: ensure process exit code is preserved when using --no-exit ([#1059](https://github.com/mochajs/mocha/issues/1059))
|
|
1132
|
+
- fix: return true from window.onerror handler ([#868](https://github.com/mochajs/mocha/issues/868))
|
|
1133
|
+
- fix: xunit reporter to use process.stdout.write ([#1068](https://github.com/mochajs/mocha/issues/1068))
|
|
1134
|
+
- fix: utils.clean(str) indentation ([#761](https://github.com/mochajs/mocha/issues/761))
|
|
1135
|
+
- fix: xunit reporter returning test duration a NaN ([#1039](https://github.com/mochajs/mocha/issues/1039))
|
|
1434
1136
|
|
|
1435
1137
|
# 1.15.1 / 2013-12-03
|
|
1436
1138
|
|
|
@@ -1438,37 +1140,37 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1438
1140
|
|
|
1439
1141
|
# 1.15.0 / 2013-12-02
|
|
1440
1142
|
|
|
1441
|
-
- add: `--no-exit` to prevent `process.exit()` (#1018)
|
|
1442
|
-
- fix: using inline diffs (#1044)
|
|
1443
|
-
- fix: show pending test details in xunit reporter (#1051)
|
|
1444
|
-
- fix: faster global leak detection (#1024)
|
|
1445
|
-
- fix: yui compression (#1035)
|
|
1446
|
-
- fix: wrapping long lines in test results (#1030, #1031)
|
|
1447
|
-
- fix: handle errors in hooks (#1043)
|
|
1143
|
+
- add: `--no-exit` to prevent `process.exit()` ([#1018](https://github.com/mochajs/mocha/issues/1018))
|
|
1144
|
+
- fix: using inline diffs ([#1044](https://github.com/mochajs/mocha/issues/1044))
|
|
1145
|
+
- fix: show pending test details in xunit reporter ([#1051](https://github.com/mochajs/mocha/issues/1051))
|
|
1146
|
+
- fix: faster global leak detection ([#1024](https://github.com/mochajs/mocha/issues/1024))
|
|
1147
|
+
- fix: yui compression ([#1035](https://github.com/mochajs/mocha/issues/1035))
|
|
1148
|
+
- fix: wrapping long lines in test results ([#1030](https://github.com/mochajs/mocha/issues/1030), [#1031](https://github.com/mochajs/mocha/issues/1031))
|
|
1149
|
+
- fix: handle errors in hooks ([#1043](https://github.com/mochajs/mocha/issues/1043))
|
|
1448
1150
|
|
|
1449
1151
|
# 1.14.0 / 2013-11-02
|
|
1450
1152
|
|
|
1451
|
-
- add: unified diff (#862)
|
|
1452
|
-
- add: set MOCHA_COLORS env var to use colors (#965)
|
|
1453
|
-
- add: able to override tests links in html reporters (#776)
|
|
1454
|
-
- remove: teamcity reporter (#954)
|
|
1455
|
-
- update: commander dependency to 2.0.0 (#1010)
|
|
1456
|
-
- fix: mocha --ui will try to require the ui if not built in, as --reporter does (#1022)
|
|
1457
|
-
- fix: send cursor commands only if isatty (#184, #1003)
|
|
1458
|
-
- fix: include assertion message in base reporter (#993, #991)
|
|
1459
|
-
- fix: consistent return of it, it.only, and describe, describe.only (#840)
|
|
1153
|
+
- add: unified diff ([#862](https://github.com/mochajs/mocha/issues/862))
|
|
1154
|
+
- add: set MOCHA_COLORS env var to use colors ([#965](https://github.com/mochajs/mocha/issues/965))
|
|
1155
|
+
- add: able to override tests links in html reporters ([#776](https://github.com/mochajs/mocha/issues/776))
|
|
1156
|
+
- remove: teamcity reporter ([#954](https://github.com/mochajs/mocha/issues/954))
|
|
1157
|
+
- update: commander dependency to 2.0.0 ([#1010](https://github.com/mochajs/mocha/issues/1010))
|
|
1158
|
+
- fix: mocha --ui will try to require the ui if not built in, as --reporter does ([#1022](https://github.com/mochajs/mocha/issues/1022))
|
|
1159
|
+
- fix: send cursor commands only if isatty ([#184](https://github.com/mochajs/mocha/issues/184), [#1003](https://github.com/mochajs/mocha/issues/1003))
|
|
1160
|
+
- fix: include assertion message in base reporter ([#993](https://github.com/mochajs/mocha/issues/993), [#991](https://github.com/mochajs/mocha/issues/991))
|
|
1161
|
+
- fix: consistent return of it, it.only, and describe, describe.only ([#840](https://github.com/mochajs/mocha/issues/840))
|
|
1460
1162
|
|
|
1461
1163
|
# 1.13.0 / 2013-09-15
|
|
1462
1164
|
|
|
1463
|
-
- add: sort test files with --sort (#813)
|
|
1165
|
+
- add: sort test files with --sort ([#813](https://github.com/mochajs/mocha/issues/813))
|
|
1464
1166
|
- update: diff dependency to 1.0.7
|
|
1465
|
-
- update: glob dependency to 3.2.3 (#927)
|
|
1466
|
-
- fix: diffs show whitespace differences (#976)
|
|
1467
|
-
- fix: improve global leaks (#783)
|
|
1167
|
+
- update: glob dependency to 3.2.3 ([#927](https://github.com/mochajs/mocha/issues/927))
|
|
1168
|
+
- fix: diffs show whitespace differences ([#976](https://github.com/mochajs/mocha/issues/976))
|
|
1169
|
+
- fix: improve global leaks ([#783](https://github.com/mochajs/mocha/issues/783))
|
|
1468
1170
|
- fix: firefox window.getInterface leak
|
|
1469
1171
|
- fix: accessing iframe via window[iframeIndex] leak
|
|
1470
1172
|
- fix: faster global leak checking
|
|
1471
|
-
- fix: reporter pending css selector (#970)
|
|
1173
|
+
- fix: reporter pending css selector ([#970](https://github.com/mochajs/mocha/issues/970))
|
|
1472
1174
|
|
|
1473
1175
|
# 1.12.1 / 2013-08-29
|
|
1474
1176
|
|
|
@@ -1477,11 +1179,11 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1477
1179
|
|
|
1478
1180
|
# 1.12.0 / 2013-07-01
|
|
1479
1181
|
|
|
1480
|
-
- add: prevent diffs for differing types. Closes #900
|
|
1182
|
+
- add: prevent diffs for differing types. Closes [#900](https://github.com/mochajs/mocha/issues/900)
|
|
1481
1183
|
- add `Mocha.process` hack for phantomjs
|
|
1482
1184
|
- fix: use compilers with requires
|
|
1483
|
-
- fix regexps in diffs. Closes #890
|
|
1484
|
-
- fix xunit NaN on failure. Closes #894
|
|
1185
|
+
- fix regexps in diffs. Closes [#890](https://github.com/mochajs/mocha/issues/890)
|
|
1186
|
+
- fix xunit NaN on failure. Closes [#894](https://github.com/mochajs/mocha/issues/894)
|
|
1485
1187
|
- fix: strip tab indentation in `clean` utility method
|
|
1486
1188
|
- fix: textmate bundle installation
|
|
1487
1189
|
|
|
@@ -1493,16 +1195,16 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1493
1195
|
- add "Uncaught " prefix to uncaught exceptions
|
|
1494
1196
|
- add web workers support
|
|
1495
1197
|
- add `suite.skip()`
|
|
1496
|
-
- change to output # of pending / passing even on failures. Closes #872
|
|
1198
|
+
- change to output # of pending / passing even on failures. Closes [#872](https://github.com/mochajs/mocha/issues/872)
|
|
1497
1199
|
- fix: prevent hooks from being called if we are bailing
|
|
1498
1200
|
- fix `this.timeout(0)`
|
|
1499
1201
|
|
|
1500
1202
|
# 1.10.0 / 2013-05-21
|
|
1501
1203
|
|
|
1502
1204
|
- add add better globbing support for windows via `glob` module
|
|
1503
|
-
- add support to pass through flags such as --debug-brk=1234. Closes #852
|
|
1205
|
+
- add support to pass through flags such as --debug-brk=1234. Closes [#852](https://github.com/mochajs/mocha/issues/852)
|
|
1504
1206
|
- add test.only, test.skip to qunit interface
|
|
1505
|
-
- change to always use word-based diffs for now. Closes #733
|
|
1207
|
+
- change to always use word-based diffs for now. Closes [#733](https://github.com/mochajs/mocha/issues/733)
|
|
1506
1208
|
- change `mocha init` tests.html to index.html
|
|
1507
1209
|
- fix `process` global leak in the browser
|
|
1508
1210
|
- fix: use resolve() instead of join() for --require
|
|
@@ -1514,7 +1216,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1514
1216
|
|
|
1515
1217
|
- add improved setImmediate implementation
|
|
1516
1218
|
- replace --ignore-leaks with --check-leaks
|
|
1517
|
-
- change default of ignoreLeaks to true. Closes #791
|
|
1219
|
+
- change default of ignoreLeaks to true. Closes [#791](https://github.com/mochajs/mocha/issues/791)
|
|
1518
1220
|
- remove scrolling for HTML reporter
|
|
1519
1221
|
- fix retina support
|
|
1520
1222
|
- fix tmbundle, restrict to js scope
|
|
@@ -1541,8 +1243,8 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1541
1243
|
# 1.7.4 / 2012-12-06
|
|
1542
1244
|
|
|
1543
1245
|
- add total number of passes and failures to TAP
|
|
1544
|
-
- remove .bind() calls. re #680
|
|
1545
|
-
- fix indexOf. Closes #680
|
|
1246
|
+
- remove .bind() calls. re [#680](https://github.com/mochajs/mocha/issues/680)
|
|
1247
|
+
- fix indexOf. Closes [#680](https://github.com/mochajs/mocha/issues/680)
|
|
1546
1248
|
|
|
1547
1249
|
# 1.7.3 / 2012-11-30
|
|
1548
1250
|
|
|
@@ -1559,11 +1261,11 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1559
1261
|
- add sorting by filename in code coverage
|
|
1560
1262
|
- add HTML 5 doctype to browser template.
|
|
1561
1263
|
- add play button to html reporter to rerun a single test
|
|
1562
|
-
- add `this.timeout(ms)` as Suite#timeout(ms). Closes #599
|
|
1264
|
+
- add `this.timeout(ms)` as Suite#timeout(ms). Closes [#599](https://github.com/mochajs/mocha/issues/599)
|
|
1563
1265
|
- update growl dependency to 1.6.x
|
|
1564
|
-
- fix encoding of test-case ?grep. Closes #637
|
|
1266
|
+
- fix encoding of test-case ?grep. Closes [#637](https://github.com/mochajs/mocha/issues/637)
|
|
1565
1267
|
- fix unicode chars on windows
|
|
1566
|
-
- fix dom globals in Opera/IE. Closes #243
|
|
1268
|
+
- fix dom globals in Opera/IE. Closes [#243](https://github.com/mochajs/mocha/issues/243)
|
|
1567
1269
|
- fix markdown reporter a tags
|
|
1568
1270
|
- fix `this.timeout("5s")` support
|
|
1569
1271
|
|
|
@@ -1582,7 +1284,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1582
1284
|
- add faster `.checkGlobals()` solution [guille]
|
|
1583
1285
|
- remove `fn.call()` from reduce util
|
|
1584
1286
|
- remove `fn.call()` from filter util
|
|
1585
|
-
- fix forEach. Closes #582
|
|
1287
|
+
- fix forEach. Closes [#582](https://github.com/mochajs/mocha/issues/582)
|
|
1586
1288
|
- fix relaying of signals [TooTallNate]
|
|
1587
1289
|
- fix TAP reporter grep number
|
|
1588
1290
|
|
|
@@ -1601,31 +1303,31 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1601
1303
|
|
|
1602
1304
|
- add missing `Markdown` export
|
|
1603
1305
|
- fix `Mocha#grep()`, escape regexp strings
|
|
1604
|
-
- fix reference error when `devicePixelRatio` is not defined. Closes #549
|
|
1306
|
+
- fix reference error when `devicePixelRatio` is not defined. Closes [#549](https://github.com/mochajs/mocha/issues/549)
|
|
1605
1307
|
|
|
1606
1308
|
# 1.4.0 / 2012-08-22
|
|
1607
1309
|
|
|
1608
|
-
- add mkdir -p to `mocha init`. Closes #539
|
|
1609
|
-
- add `.only()`. Closes #524
|
|
1610
|
-
- add `.skip()`. Closes #524
|
|
1611
|
-
- change str.trim() to use utils.trim(). Closes #533
|
|
1310
|
+
- add mkdir -p to `mocha init`. Closes [#539](https://github.com/mochajs/mocha/issues/539)
|
|
1311
|
+
- add `.only()`. Closes [#524](https://github.com/mochajs/mocha/issues/524)
|
|
1312
|
+
- add `.skip()`. Closes [#524](https://github.com/mochajs/mocha/issues/524)
|
|
1313
|
+
- change str.trim() to use utils.trim(). Closes [#533](https://github.com/mochajs/mocha/issues/533)
|
|
1612
1314
|
- fix HTML progress indicator retina display
|
|
1613
1315
|
- fix url-encoding of click-to-grep HTML functionality
|
|
1614
1316
|
|
|
1615
1317
|
# 1.3.2 / 2012-08-01
|
|
1616
1318
|
|
|
1617
|
-
- fix exports double-execution regression. Closes #531
|
|
1319
|
+
- fix exports double-execution regression. Closes [#531](https://github.com/mochajs/mocha/issues/531)
|
|
1618
1320
|
|
|
1619
1321
|
# 1.3.1 / 2012-08-01
|
|
1620
1322
|
|
|
1621
1323
|
- add passes/failures toggling to HTML reporter
|
|
1622
1324
|
- add pending state to `xit()` and `xdescribe()` [Brian Moore]
|
|
1623
|
-
- add the
|
|
1325
|
+
- add the [**@charset**](https://github.com/charset) "UTF-8"; to fix [#522](https://github.com/mochajs/mocha/issues/522) with FireFox. [Jonathan Creamer]
|
|
1624
1326
|
- add border-bottom to #stats links
|
|
1625
|
-
- add check for runnable in `Runner#uncaught()`. Closes #494
|
|
1327
|
+
- add check for runnable in `Runner#uncaught()`. Closes [#494](https://github.com/mochajs/mocha/issues/494)
|
|
1626
1328
|
- add 0.4 and 0.6 back to travis.yml
|
|
1627
1329
|
- add `-E, --growl-errors` to growl on failures only
|
|
1628
|
-
- add prefixes to debug() names. Closes #497
|
|
1330
|
+
- add prefixes to debug() names. Closes [#497](https://github.com/mochajs/mocha/issues/497)
|
|
1629
1331
|
- add `Mocha#invert()` to js api
|
|
1630
1332
|
- change dot reporter to use sexy unicode dots
|
|
1631
1333
|
- fix error when clicking pending test in HTML reporter
|
|
@@ -1637,8 +1339,8 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1637
1339
|
- add v8 `--trace-*` option support
|
|
1638
1340
|
- add support for custom reports via `--reporter MODULE`
|
|
1639
1341
|
- add `--invert` switch to invert `--grep` matches
|
|
1640
|
-
- fix export of `Nyan` reporter. Closes #495
|
|
1641
|
-
- fix escaping of `HTML` suite titles. Closes #486
|
|
1342
|
+
- fix export of `Nyan` reporter. Closes [#495](https://github.com/mochajs/mocha/issues/495)
|
|
1343
|
+
- fix escaping of `HTML` suite titles. Closes [#486](https://github.com/mochajs/mocha/issues/486)
|
|
1642
1344
|
- fix `done()` called multiple times with an error test
|
|
1643
1345
|
- change `--grep` - regexp escape the input
|
|
1644
1346
|
|
|
@@ -1648,13 +1350,13 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1648
1350
|
|
|
1649
1351
|
# 1.2.1 / 2012-06-25
|
|
1650
1352
|
|
|
1651
|
-
- Added `this.test.error(err)` support to after each hooks. Closes #287
|
|
1652
|
-
- Added: export top-level suite on global mocha object (mocha.suite). Closes #448
|
|
1353
|
+
- Added `this.test.error(err)` support to after each hooks. Closes [#287](https://github.com/mochajs/mocha/issues/287)
|
|
1354
|
+
- Added: export top-level suite on global mocha object (mocha.suite). Closes [#448](https://github.com/mochajs/mocha/issues/448)
|
|
1653
1355
|
- Fixed `js` code block format error in markdown reporter
|
|
1654
1356
|
- Fixed deprecation warning when using `path.existsSync`
|
|
1655
1357
|
- Fixed --globals with wildcard
|
|
1656
1358
|
- Fixed chars in nyan when his head moves back
|
|
1657
|
-
- Remove `--growl` from test/mocha.opts. Closes #289
|
|
1359
|
+
- Remove `--growl` from test/mocha.opts. Closes [#289](https://github.com/mochajs/mocha/issues/289)
|
|
1658
1360
|
|
|
1659
1361
|
# 1.2.0 / 2012-06-17
|
|
1660
1362
|
|
|
@@ -1662,8 +1364,8 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1662
1364
|
- Added `mocha init <path>` to copy client files
|
|
1663
1365
|
- Added "specify" synonym for "it" [domenic]
|
|
1664
1366
|
- Added global leak wildcard support [nathanbowser]
|
|
1665
|
-
- Fixed runner emitter leak. closes #432
|
|
1666
|
-
- Fixed omission of .js extension. Closes #454
|
|
1367
|
+
- Fixed runner emitter leak. closes [#432](https://github.com/mochajs/mocha/issues/432)
|
|
1368
|
+
- Fixed omission of .js extension. Closes [#454](https://github.com/mochajs/mocha/issues/454)
|
|
1667
1369
|
|
|
1668
1370
|
# 1.1.0 / 2012-05-30
|
|
1669
1371
|
|
|
@@ -1675,42 +1377,42 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1675
1377
|
- Added warning when strings are thrown as errors
|
|
1676
1378
|
- Changed: green arrows again in HTML reporter styling
|
|
1677
1379
|
- Changed ul/li elements instead of divs for better copy-and-pasting [joliss]
|
|
1678
|
-
- Fixed issue #325 - add better grep support to js api
|
|
1380
|
+
- Fixed issue [#325](https://github.com/mochajs/mocha/issues/325) - add better grep support to js api
|
|
1679
1381
|
- Fixed: save timer references to avoid Sinon interfering.
|
|
1680
1382
|
|
|
1681
1383
|
# 1.0.3 / 2012-04-30
|
|
1682
1384
|
|
|
1683
1385
|
- Fixed string diff newlines
|
|
1684
|
-
- Fixed: removed mocha.css target. Closes #401
|
|
1386
|
+
- Fixed: removed mocha.css target. Closes [#401](https://github.com/mochajs/mocha/issues/401)
|
|
1685
1387
|
|
|
1686
1388
|
# 1.0.2 / 2012-04-25
|
|
1687
1389
|
|
|
1688
|
-
- Added HTML reporter duration. Closes #47
|
|
1390
|
+
- Added HTML reporter duration. Closes [#47](https://github.com/mochajs/mocha/issues/47)
|
|
1689
1391
|
- Fixed: one postMessage event listener [exogen]
|
|
1690
|
-
- Fixed: allow --globals to be used multiple times. Closes #100 [brendannee]
|
|
1691
|
-
- Fixed #158: removes jquery include from browser tests
|
|
1692
|
-
- Fixed grep. Closes #372 [brendannee]
|
|
1693
|
-
- Fixed #166 - When grepping don't display the empty suites
|
|
1694
|
-
- Removed test/browser/style.css. Closes #385
|
|
1392
|
+
- Fixed: allow --globals to be used multiple times. Closes [#100](https://github.com/mochajs/mocha/issues/100) [brendannee]
|
|
1393
|
+
- Fixed [#158](https://github.com/mochajs/mocha/issues/158): removes jquery include from browser tests
|
|
1394
|
+
- Fixed grep. Closes [#372](https://github.com/mochajs/mocha/issues/372) [brendannee]
|
|
1395
|
+
- Fixed [#166](https://github.com/mochajs/mocha/issues/166) - When grepping don't display the empty suites
|
|
1396
|
+
- Removed test/browser/style.css. Closes [#385](https://github.com/mochajs/mocha/issues/385)
|
|
1695
1397
|
|
|
1696
1398
|
# 1.0.1 / 2012-04-04
|
|
1697
1399
|
|
|
1698
1400
|
- Fixed `.timeout()` in hooks
|
|
1699
1401
|
- Fixed: allow callback for `mocha.run()` in client version
|
|
1700
|
-
- Fixed browser hook error display. Closes #361
|
|
1402
|
+
- Fixed browser hook error display. Closes [#361](https://github.com/mochajs/mocha/issues/361)
|
|
1701
1403
|
|
|
1702
1404
|
# 1.0.0 / 2012-03-24
|
|
1703
1405
|
|
|
1704
|
-
- Added js API. Closes #265
|
|
1705
|
-
- Added: initial run of tests with `--watch`. Closes #345
|
|
1706
|
-
- Added: mark `location` as a global on the CS. Closes #311
|
|
1406
|
+
- Added js API. Closes [#265](https://github.com/mochajs/mocha/issues/265)
|
|
1407
|
+
- Added: initial run of tests with `--watch`. Closes [#345](https://github.com/mochajs/mocha/issues/345)
|
|
1408
|
+
- Added: mark `location` as a global on the CS. Closes [#311](https://github.com/mochajs/mocha/issues/311)
|
|
1707
1409
|
- Added `markdown` reporter (github flavour)
|
|
1708
|
-
- Added: scrolling menu to coverage.html. Closes #335
|
|
1410
|
+
- Added: scrolling menu to coverage.html. Closes [#335](https://github.com/mochajs/mocha/issues/335)
|
|
1709
1411
|
- Added source line to html report for Safari [Tyson Tate]
|
|
1710
1412
|
- Added "min" reporter, useful for `--watch` [Jakub Nešetřil]
|
|
1711
|
-
- Added support for arbitrary compilers via . Closes #338 [Ian Young]
|
|
1413
|
+
- Added support for arbitrary compilers via . Closes [#338](https://github.com/mochajs/mocha/issues/338) [Ian Young]
|
|
1712
1414
|
- Added Teamcity export to lib/reporters/index [Michael Riley]
|
|
1713
|
-
- Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
|
|
1415
|
+
- Fixed chopping of first char in error reporting. Closes [#334](https://github.com/mochajs/mocha/issues/334) [reported by topfunky]
|
|
1714
1416
|
- Fixed terrible FF / Opera stack traces
|
|
1715
1417
|
|
|
1716
1418
|
# 0.14.1 / 2012-03-06
|
|
@@ -1719,7 +1421,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1719
1421
|
- Added reporter to `mocha.run([reporter])` as argument
|
|
1720
1422
|
- Added some margin-top to the HTML reporter
|
|
1721
1423
|
- Removed jQuery dependency
|
|
1722
|
-
- Fixed `--watch`: purge require cache. Closes #266
|
|
1424
|
+
- Fixed `--watch`: purge require cache. Closes [#266](https://github.com/mochajs/mocha/issues/266)
|
|
1723
1425
|
|
|
1724
1426
|
# 0.14.0 / 2012-03-01
|
|
1725
1427
|
|
|
@@ -1727,36 +1429,36 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1727
1429
|
|
|
1728
1430
|
# 0.13.0 / 2012-02-23
|
|
1729
1431
|
|
|
1730
|
-
- Added preliminary test coverage support. Closes #5
|
|
1432
|
+
- Added preliminary test coverage support. Closes [#5](https://github.com/mochajs/mocha/issues/5)
|
|
1731
1433
|
- Added `HTMLCov` reporter
|
|
1732
1434
|
- Added `JSONCov` reporter [kunklejr]
|
|
1733
|
-
- Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs
|
|
1734
|
-
- Fixed node-inspector support, swapped `--debug` for `debug` to match node. Closes #247
|
|
1435
|
+
- Added `xdescribe()` and `xit()` to the BDD interface. Closes [#263](https://github.com/mochajs/mocha/issues/263) (docs \* Changed: make json reporter output pretty json
|
|
1436
|
+
- Fixed node-inspector support, swapped `--debug` for `debug` to match node. Closes [#247](https://github.com/mochajs/mocha/issues/247)
|
|
1735
1437
|
|
|
1736
1438
|
# 0.12.1 / 2012-02-14
|
|
1737
1439
|
|
|
1738
1440
|
- Added `npm docs mocha` support [TooTallNate]
|
|
1739
|
-
- Added a `Context` object used for hook and test-case this. Closes #253
|
|
1740
|
-
- Fixed `Suite#clone()` `.ctx` reference. Closes #262
|
|
1441
|
+
- Added a `Context` object used for hook and test-case this. Closes [#253](https://github.com/mochajs/mocha/issues/253)
|
|
1442
|
+
- Fixed `Suite#clone()` `.ctx` reference. Closes [#262](https://github.com/mochajs/mocha/issues/262)
|
|
1741
1443
|
|
|
1742
1444
|
# 0.12.0 / 2012-02-02
|
|
1743
1445
|
|
|
1744
|
-
- Added .coffee `--watch` support. Closes #242
|
|
1745
|
-
- Added support to `--require` files relative to the CWD. Closes #241
|
|
1746
|
-
- Added quick n dirty syntax highlighting. Closes #248
|
|
1446
|
+
- Added .coffee `--watch` support. Closes [#242](https://github.com/mochajs/mocha/issues/242)
|
|
1447
|
+
- Added support to `--require` files relative to the CWD. Closes [#241](https://github.com/mochajs/mocha/issues/241)
|
|
1448
|
+
- Added quick n dirty syntax highlighting. Closes [#248](https://github.com/mochajs/mocha/issues/248)
|
|
1747
1449
|
- Changed: made HTML progress indicator smaller
|
|
1748
1450
|
- Fixed xunit errors attribute [dhendo]
|
|
1749
1451
|
|
|
1750
1452
|
# 0.10.2 / 2012-01-21
|
|
1751
1453
|
|
|
1752
|
-
- Fixed suite count in reporter stats. Closes #222
|
|
1454
|
+
- Fixed suite count in reporter stats. Closes [#222](https://github.com/mochajs/mocha/issues/222)
|
|
1753
1455
|
- Fixed `done()` after timeout error reporting [Phil Sung]
|
|
1754
1456
|
- Changed the 0-based errors to 1
|
|
1755
1457
|
|
|
1756
1458
|
# 0.10.1 / 2012-01-17
|
|
1757
1459
|
|
|
1758
1460
|
- Added support for node 0.7.x
|
|
1759
|
-
- Fixed absolute path support. Closes #215 [kompiro]
|
|
1461
|
+
- Fixed absolute path support. Closes [#215](https://github.com/mochajs/mocha/issues/215) [kompiro]
|
|
1760
1462
|
- Fixed `--no-colors` option [Jussi Virtanen]
|
|
1761
1463
|
- Fixed Arial CSS typo in the correct file
|
|
1762
1464
|
|
|
@@ -1765,20 +1467,20 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1765
1467
|
- Added `-b, --bail` to exit on first exception [guillermo]
|
|
1766
1468
|
- Added support for `-gc` / `--expose-gc` [TooTallNate]
|
|
1767
1469
|
- Added `qunit`-inspired interface
|
|
1768
|
-
- Added MIT LICENSE. Closes #194
|
|
1769
|
-
- Added: `--watch` all .js in the CWD. Closes #139
|
|
1770
|
-
- Fixed `self.test` reference in runner. Closes #189
|
|
1771
|
-
- Fixed double reporting of uncaught exceptions after timeout. Closes #195
|
|
1470
|
+
- Added MIT LICENSE. Closes [#194](https://github.com/mochajs/mocha/issues/194)
|
|
1471
|
+
- Added: `--watch` all .js in the CWD. Closes [#139](https://github.com/mochajs/mocha/issues/139)
|
|
1472
|
+
- Fixed `self.test` reference in runner. Closes [#189](https://github.com/mochajs/mocha/issues/189)
|
|
1473
|
+
- Fixed double reporting of uncaught exceptions after timeout. Closes [#195](https://github.com/mochajs/mocha/issues/195)
|
|
1772
1474
|
|
|
1773
1475
|
# 0.8.2 / 2012-01-05
|
|
1774
1476
|
|
|
1775
|
-
- Added test-case context support. Closes #113
|
|
1776
|
-
- Fixed exit status. Closes #187
|
|
1777
|
-
- Update commander. Closes #190
|
|
1477
|
+
- Added test-case context support. Closes [#113](https://github.com/mochajs/mocha/issues/113)
|
|
1478
|
+
- Fixed exit status. Closes [#187](https://github.com/mochajs/mocha/issues/187)
|
|
1479
|
+
- Update commander. Closes [#190](https://github.com/mochajs/mocha/issues/190)
|
|
1778
1480
|
|
|
1779
1481
|
# 0.8.1 / 2011-12-30
|
|
1780
1482
|
|
|
1781
|
-
- Fixed reporting of uncaught exceptions. Closes #183
|
|
1483
|
+
- Fixed reporting of uncaught exceptions. Closes [#183](https://github.com/mochajs/mocha/issues/183)
|
|
1782
1484
|
- Fixed error message defaulting [indutny]
|
|
1783
1485
|
- Changed mocha(1) from bash to node for windows [Nathan Rajlich]
|
|
1784
1486
|
|
|
@@ -1786,9 +1488,9 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1786
1488
|
|
|
1787
1489
|
- Added `XUnit` reporter [FeeFighters/visionmedia]
|
|
1788
1490
|
- Added `say(1)` notification support [Maciej Małecki]
|
|
1789
|
-
- Changed: fail when done() is invoked with a non-Error. Closes #171
|
|
1790
|
-
- Fixed `err.stack`, defaulting to message. Closes #180
|
|
1791
|
-
- Fixed: `make tm` mkdir -p the dest. Closes #137
|
|
1491
|
+
- Changed: fail when done() is invoked with a non-Error. Closes [#171](https://github.com/mochajs/mocha/issues/171)
|
|
1492
|
+
- Fixed `err.stack`, defaulting to message. Closes [#180](https://github.com/mochajs/mocha/issues/180)
|
|
1493
|
+
- Fixed: `make tm` mkdir -p the dest. Closes [#137](https://github.com/mochajs/mocha/issues/137)
|
|
1792
1494
|
- Fixed mocha(1) --help bin name
|
|
1793
1495
|
- Fixed `-d` for `--debug` support
|
|
1794
1496
|
|
|
@@ -1798,7 +1500,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1798
1500
|
- Fixed CWD relative requires
|
|
1799
1501
|
- Fixed growl issue on windows [Raynos]
|
|
1800
1502
|
- Fixed: platform specific line endings [TooTallNate]
|
|
1801
|
-
- Fixed: escape strings in HTML reporter. Closes #164
|
|
1503
|
+
- Fixed: escape strings in HTML reporter. Closes [#164](https://github.com/mochajs/mocha/issues/164)
|
|
1802
1504
|
|
|
1803
1505
|
# 0.7.0 / 2011-12-18
|
|
1804
1506
|
|
|
@@ -1807,25 +1509,25 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1807
1509
|
|
|
1808
1510
|
# 0.6.0 / 2011-12-18
|
|
1809
1511
|
|
|
1810
|
-
- Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
|
|
1512
|
+
- Added setZeroTimeout timeout for browser (nicer stack traces). Closes [#153](https://github.com/mochajs/mocha/issues/153)
|
|
1811
1513
|
- Added "view source" on hover for HTML reporter to make it obvious
|
|
1812
1514
|
- Changed: replace custom growl with growl lib
|
|
1813
|
-
- Fixed duplicate reporting for HTML reporter. Closes #154
|
|
1814
|
-
- Fixed silent hook errors in the HTML reporter. Closes #150
|
|
1515
|
+
- Fixed duplicate reporting for HTML reporter. Closes [#154](https://github.com/mochajs/mocha/issues/154)
|
|
1516
|
+
- Fixed silent hook errors in the HTML reporter. Closes [#150](https://github.com/mochajs/mocha/issues/150)
|
|
1815
1517
|
|
|
1816
1518
|
# 0.5.0 / 2011-12-14
|
|
1817
1519
|
|
|
1818
|
-
- Added: push node_modules directory onto module.paths for relative require Closes #93
|
|
1520
|
+
- Added: push node_modules directory onto module.paths for relative require Closes [#93](https://github.com/mochajs/mocha/issues/93)
|
|
1819
1521
|
- Added teamcity reporter [blindsey]
|
|
1820
|
-
- Fixed: recover from uncaught exceptions for tests. Closes #94
|
|
1522
|
+
- Fixed: recover from uncaught exceptions for tests. Closes [#94](https://github.com/mochajs/mocha/issues/94)
|
|
1821
1523
|
- Fixed: only emit "test end" for uncaught within test, not hook
|
|
1822
1524
|
|
|
1823
1525
|
# 0.4.0 / 2011-12-14
|
|
1824
1526
|
|
|
1825
|
-
- Added support for test-specific timeouts via `this.timeout(0)`. Closes #134
|
|
1826
|
-
- Added guillermo's client-side EventEmitter. Closes #132
|
|
1527
|
+
- Added support for test-specific timeouts via `this.timeout(0)`. Closes [#134](https://github.com/mochajs/mocha/issues/134)
|
|
1528
|
+
- Added guillermo's client-side EventEmitter. Closes [#132](https://github.com/mochajs/mocha/issues/132)
|
|
1827
1529
|
- Added progress indicator to the HTML reporter
|
|
1828
|
-
- Fixed slow browser tests. Closes #135
|
|
1530
|
+
- Fixed slow browser tests. Closes [#135](https://github.com/mochajs/mocha/issues/135)
|
|
1829
1531
|
- Fixed "suite" color for light terminals
|
|
1830
1532
|
- Fixed `require()` leak spotted by [guillermo]
|
|
1831
1533
|
|
|
@@ -1836,20 +1538,20 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1836
1538
|
# 0.3.5 / 2011-12-08
|
|
1837
1539
|
|
|
1838
1540
|
- Added support for `window.onerror` [guillermo]
|
|
1839
|
-
- Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo]
|
|
1541
|
+
- Fixed: clear timeout on uncaught exceptions. Closes [#131](https://github.com/mochajs/mocha/issues/131) [guillermo]
|
|
1840
1542
|
- Added `mocha.css` to PHONY list.
|
|
1841
1543
|
- Added `mocha.js` to PHONY list.
|
|
1842
1544
|
|
|
1843
1545
|
# 0.3.4 / 2011-12-08
|
|
1844
1546
|
|
|
1845
1547
|
- Added: allow `done()` to be called with non-Error
|
|
1846
|
-
- Added: return Runner from `mocha.run()`. Closes #126
|
|
1847
|
-
- Fixed: run afterEach even on failures. Closes #125
|
|
1848
|
-
- Fixed clobbering of current runnable. Closes #121
|
|
1548
|
+
- Added: return Runner from `mocha.run()`. Closes [#126](https://github.com/mochajs/mocha/issues/126)
|
|
1549
|
+
- Fixed: run afterEach even on failures. Closes [#125](https://github.com/mochajs/mocha/issues/125)
|
|
1550
|
+
- Fixed clobbering of current runnable. Closes [#121](https://github.com/mochajs/mocha/issues/121)
|
|
1849
1551
|
|
|
1850
1552
|
# 0.3.3 / 2011-12-08
|
|
1851
1553
|
|
|
1852
|
-
- Fixed hook timeouts. Closes #120
|
|
1554
|
+
- Fixed hook timeouts. Closes [#120](https://github.com/mochajs/mocha/issues/120)
|
|
1853
1555
|
- Fixed uncaught exceptions in hooks
|
|
1854
1556
|
|
|
1855
1557
|
# 0.3.2 / 2011-12-05
|
|
@@ -1858,29 +1560,29 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1858
1560
|
|
|
1859
1561
|
# 0.3.1 / 2011-12-04
|
|
1860
1562
|
|
|
1861
|
-
- Fixed hook event emitter leak. Closes #117
|
|
1862
|
-
- Fixed: export `Spec` constructor. Closes #116
|
|
1563
|
+
- Fixed hook event emitter leak. Closes [#117](https://github.com/mochajs/mocha/issues/117)
|
|
1564
|
+
- Fixed: export `Spec` constructor. Closes [#116](https://github.com/mochajs/mocha/issues/116)
|
|
1863
1565
|
|
|
1864
1566
|
# 0.3.0 / 2011-12-04
|
|
1865
1567
|
|
|
1866
|
-
- Added `-w, --watch`. Closes #72
|
|
1568
|
+
- Added `-w, --watch`. Closes [#72](https://github.com/mochajs/mocha/issues/72)
|
|
1867
1569
|
- Added `--ignore-leaks` to ignore global leak checking
|
|
1868
1570
|
- Added browser `?grep=pattern` support
|
|
1869
|
-
- Added `--globals <names>` to specify accepted globals. Closes #99
|
|
1870
|
-
- Fixed `mocha-debug(1)` on some systems. Closes #232
|
|
1571
|
+
- Added `--globals <names>` to specify accepted globals. Closes [#99](https://github.com/mochajs/mocha/issues/99)
|
|
1572
|
+
- Fixed `mocha-debug(1)` on some systems. Closes [#232](https://github.com/mochajs/mocha/issues/232)
|
|
1871
1573
|
- Fixed growl total, use `runner.total`
|
|
1872
1574
|
|
|
1873
1575
|
# 0.2.0 / 2011-11-30
|
|
1874
1576
|
|
|
1875
|
-
- Added `--globals <names>` to specify accepted globals. Closes #99
|
|
1876
|
-
- Fixed funky highlighting of messages. Closes #97
|
|
1877
|
-
- Fixed `mocha-debug(1)`. Closes #232
|
|
1577
|
+
- Added `--globals <names>` to specify accepted globals. Closes [#99](https://github.com/mochajs/mocha/issues/99)
|
|
1578
|
+
- Fixed funky highlighting of messages. Closes [#97](https://github.com/mochajs/mocha/issues/97)
|
|
1579
|
+
- Fixed `mocha-debug(1)`. Closes [#232](https://github.com/mochajs/mocha/issues/232)
|
|
1878
1580
|
- Fixed growl total, use runner.total
|
|
1879
1581
|
|
|
1880
1582
|
# 0.1.0 / 2011-11-29
|
|
1881
1583
|
|
|
1882
1584
|
- Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
|
|
1883
|
-
- Added growl icons. Closes #84
|
|
1585
|
+
- Added growl icons. Closes [#84](https://github.com/mochajs/mocha/issues/84)
|
|
1884
1586
|
- Fixed coffee-script support
|
|
1885
1587
|
|
|
1886
1588
|
# 0.0.8 / 2011-11-25
|
|
@@ -1894,11 +1596,11 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1894
1596
|
- Changed: `Test` is `Runnable`
|
|
1895
1597
|
- Fixed global leak reporting in hooks
|
|
1896
1598
|
- Fixed: > 2 calls to done() only report the error once
|
|
1897
|
-
- Fixed: clear timer on failure. Closes #80
|
|
1599
|
+
- Fixed: clear timer on failure. Closes [#80](https://github.com/mochajs/mocha/issues/80)
|
|
1898
1600
|
|
|
1899
1601
|
# 0.0.6 / 2011-11-25
|
|
1900
1602
|
|
|
1901
|
-
- Fixed return on immediate async error. Closes #80
|
|
1603
|
+
- Fixed return on immediate async error. Closes [#80](https://github.com/mochajs/mocha/issues/80)
|
|
1902
1604
|
|
|
1903
1605
|
# 0.0.5 / 2011-11-24
|
|
1904
1606
|
|
|
@@ -1908,7 +1610,7 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1908
1610
|
|
|
1909
1611
|
- Added `--interfaces`
|
|
1910
1612
|
- Added `--reporters`
|
|
1911
|
-
- Added `-c, --colors`. Closes #69
|
|
1613
|
+
- Added `-c, --colors`. Closes [#69](https://github.com/mochajs/mocha/issues/69)
|
|
1912
1614
|
- Fixed hook timeouts
|
|
1913
1615
|
|
|
1914
1616
|
# 0.0.3 / 2011-11-23
|
|
@@ -1921,30 +1623,30 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1921
1623
|
- Fixed global leak detection due to Safari bind() change
|
|
1922
1624
|
- Fixed: escape html entities in Doc reporter
|
|
1923
1625
|
- Fixed: escape html entities in HTML reporter
|
|
1924
|
-
- Fixed pending test support for HTML reporter. Closes #66
|
|
1626
|
+
- Fixed pending test support for HTML reporter. Closes [#66](https://github.com/mochajs/mocha/issues/66)
|
|
1925
1627
|
|
|
1926
1628
|
# 0.0.1 / 2011-11-22
|
|
1927
1629
|
|
|
1928
1630
|
- Added `--timeout` second shorthand support, ex `--timeout 3s`.
|
|
1929
|
-
- Fixed "test end" event for uncaughtExceptions. Closes #61
|
|
1631
|
+
- Fixed "test end" event for uncaughtExceptions. Closes [#61](https://github.com/mochajs/mocha/issues/61)
|
|
1930
1632
|
|
|
1931
1633
|
# 0.0.1-alpha6 / 2011-11-19
|
|
1932
1634
|
|
|
1933
1635
|
- Added travis CI support (needs enabling when public)
|
|
1934
1636
|
- Added preliminary browser support
|
|
1935
|
-
- Added `make mocha.css` target. Closes #45
|
|
1936
|
-
- Added stack trace to TAP errors. Closes #52
|
|
1937
|
-
- Renamed tearDown to teardown. Closes #49
|
|
1938
|
-
- Fixed: cascading hooksc. Closes #30
|
|
1637
|
+
- Added `make mocha.css` target. Closes [#45](https://github.com/mochajs/mocha/issues/45)
|
|
1638
|
+
- Added stack trace to TAP errors. Closes [#52](https://github.com/mochajs/mocha/issues/52)
|
|
1639
|
+
- Renamed tearDown to teardown. Closes [#49](https://github.com/mochajs/mocha/issues/49)
|
|
1640
|
+
- Fixed: cascading hooksc. Closes [#30](https://github.com/mochajs/mocha/issues/30)
|
|
1939
1641
|
- Fixed some colors for non-tty
|
|
1940
1642
|
- Fixed errors thrown in sync test-cases due to nextTick
|
|
1941
1643
|
- Fixed Base.window.width... again give precedence to 0.6.x
|
|
1942
1644
|
|
|
1943
1645
|
# 0.0.1-alpha5 / 2011-11-17
|
|
1944
1646
|
|
|
1945
|
-
- Added `doc` reporter. Closes #33
|
|
1946
|
-
- Added suite merging. Closes #28
|
|
1947
|
-
- Added TextMate bundle and `make tm`. Closes #20
|
|
1647
|
+
- Added `doc` reporter. Closes [#33](https://github.com/mochajs/mocha/issues/33)
|
|
1648
|
+
- Added suite merging. Closes [#28](https://github.com/mochajs/mocha/issues/28)
|
|
1649
|
+
- Added TextMate bundle and `make tm`. Closes [#20](https://github.com/mochajs/mocha/issues/20)
|
|
1948
1650
|
|
|
1949
1651
|
# 0.0.1-alpha4 / 2011-11-15
|
|
1950
1652
|
|
|
@@ -1954,9 +1656,9 @@ Thanks to everyone who contributed, and our fabulous [sponsors and backers](http
|
|
|
1954
1656
|
|
|
1955
1657
|
- Added `-s, --slow <ms>` to specify "slow" test threshold
|
|
1956
1658
|
- Added `mocha-debug(1)`
|
|
1957
|
-
- Added `mocha.opts` support. Closes #31
|
|
1958
|
-
- Added: default [files] to _test
|
|
1959
|
-
- Added protection against multiple calls to `done()`. Closes #35
|
|
1659
|
+
- Added `mocha.opts` support. Closes [#31](https://github.com/mochajs/mocha/issues/31)
|
|
1660
|
+
- Added: default [files] to _test/\*.js_
|
|
1661
|
+
- Added protection against multiple calls to `done()`. Closes [#35](https://github.com/mochajs/mocha/issues/35)
|
|
1960
1662
|
- Changed: bright yellow for slow Dot reporter tests
|
|
1961
1663
|
|
|
1962
1664
|
# 0.0.1-alpha2 / 2011-11-08
|