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