-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An in-range update of mocha is breaking the build 🚨 #107
Comments
After pinning to 5.2.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results. |
Your tests are still failing with this version. Compare changes Release Notes for v6.0.16.0.1 / 2019-02-21The obligatory round of post-major-release bugfixes. 🐛 FixesThese issues were regressions.
📖 Documentation
CommitsThe new version differs by 9 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v6.0.26.0.2 / 2019-02-25🐛 FixesTwo more regressions fixed:
CommitsThe new version differs by 6 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v6.1.06.1.0 / 2019-04-07🔒 Security Fixes
🎉 Enhancements
📠 DeprecationsThese are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha: 🐛 Fixes
and some regressions:
📖 Documentation
🔩 Other
CommitsThe new version differs by 28 commits.
There are 28 commits in total. See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v6.1.16.1.1 / 2019-04-07🐛 Fixes
|
Your tests are still failing with this version. Compare changes Release Notes for v6.1.26.1.2 / 2019-04-08🐛 Fixes
|
Your tests are still failing with this version. Compare changes |
Your tests are still failing with this version. Compare changes Release Notes for v6.1.46.1.4 / 2019-04-18🔒 Security Fixes
|
Your tests are still failing with this version. Compare changes Release Notes for v6.2.06.2.0 / 2019-07-18🎉 Enhancements
🐛 Fixes
📖 Documentation
🔍 Coverage
🔩 Other
CommitsThe new version differs by 39 commits.
There are 39 commits in total. See the full diff |
Your tests are still failing with this version. Compare changes CommitsThe new version differs by 11 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v6.2.26.2.2 / 2019-10-18🐛 Fixes
📖 Documentation
CommitsThe new version differs by 12 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v7.0.17.0.1 / 2020-01-25🐛 Fixes
📖 Documentation
🔩 OtherCommitsThe new version differs by 61 commits ahead by 61, behind by 17.
There are 61 commits in total. See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v7.1.07.1.0 / 2020-02-26🎉 Enhancements#4038: Add Node.js native ESM support (@giltayar) Mocha supports writing your test files as ES modules:
Note: Node.JS native ECMAScript Modules implementation has status: Stability: 1 - Experimental 🐛 Fixes
📖 Documentation
🔩 Other
CommitsThe new version differs by 10 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v7.1.17.1.1 / 2020-03-18🔒 Security Fixes🐛 Fixes📖 Documentation
CommitsThe new version differs by 6 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v7.1.27.1.2 / 2020-04-26🔩 Other
📖 Documentation
CommitsThe new version differs by 7 commits.
See the full diff |
Your tests are still failing with this version. Compare changes Release Notes for v7.2.07.2.0 / 2020-05-22🎉 Enhancements
🐛 Fixes
📖 Documentation
🔩 Other
CommitsThe new version differs by 33 commits.
There are 33 commits in total. See the full diff |
The devDependency mocha was updated from
5.2.0
to6.0.0
.🚨 View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
Release Notes for v6.0.0
6.0.0 / 2019-02-18
💥 Breaking Changes
--grep
and--fgrep
are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring--grep
--compilers
is no longer supported; attempting to use will cause Mocha to fail with a link to more information-d
is no longer an alias for--debug
;-d
is currently ignored--watch-extensions
no longer impliesjs
; it must be explicitly added (@TheDancingCode)tap
reporter emits error messages (@chrmod)before
hook, subsequentbefore
hooks and tests in nested suites are now skipped (@bannmoore)lib/template.html
has moved tolib/browser/template.html
(@boneskull)mocha.opts
at a user-specified path (@plroebuck)Base
-extending reporter without aRunner
parameter will throw an exception (@craigtaub)code
property (and some will have additional metadata). SomeError
messages have changed. Please use thecode
property to checkError
types instead of themessage
property; these descriptions will be localized in the future. (@craigtaub)📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
-gc
users should use--gc-global
insteadbin/options
should now use theloadMochaOpts
orloadOptions
(preferred) functions exported by thelib/cli/options
moduleRegarding the
Mocha
class constructor (fromlib/mocha
):color: false
instead ofuseColors: false
timeout: false
instead ofenableTimeouts: false
All of the above deprecations were introduced by #3556.
mocha.opts
is now considered "legacy"; please prefer RC file orpackage.json
overmocha.opts
.🎉 Enhancements
require
cache (@plroebuck)Enhancements introduced in #3556:
Mocha now supports "RC" files in JS, JSON, YAML, or
package.json
-based (usingmocha
property) format.mocharc.js
,.mocharc.json
,.mocharc.yaml
or.mocharc.yml
are valid "rc" file names and will be automatically loaded--config /path/to/rc/file
to specify an explicit path--package /path/to/package.json
to specify an explicitpackage.json
to read themocha
prop from--no-config
or--no-package
to completely disable loading of configuration via RC file andpackage.json
, respectivelypackage.json
mocha.opts
Node/V8 flag support in
mocha
executable:node
flags as supported by the running version ofnode
(also thanks to @demurgos)--v8-
to the flag namepackage.json
properties, ormocha.opts
--inspect
) now imply--no-timeouts
--debug
will automatically invoke--inspect
if supported by running version ofnode
Support negation of any Mocha-specific command-line flag by prepending
--no-
to the flag nameInterfaces now have descriptions when listed using
--interfaces
flagMocha
constructor supports all options--extension
is now an alias for--watch-extensions
and affects non-watch-mode test runs as well. For example, to run onlytest/*.coffee
(nottest/*.js
), you can domocha --require coffee-script/register --extensions coffee
.#3552:
tap
reporter is now TAP13-capable (@plroebuck & @mollstam)#3535: Mocha's version can now be queried programmatically via public property
Mocha.prototype.version
(@plroebuck)#3428:
xunit
reporter shows diffs (@mlucool)#2529:
Runner
now emits aretry
event when tests are retried (reporters can listen for this) (@catdad)#2962, #3111: In-browser notification support; warn about missing prereqs when
--growl
supplied (@plroebuck)🐛 Fixes
Suite#_onlyTests
andSuite#_onlySuites
(@vkarpov15)lookupFiles
andfiles
(@plroebuck)--delay
(and other boolean options) not working in all cases (@boneskull)--reporter-option
/--reporter-options
did not support comma-separated key/value pairs (@boneskull)mocharc.json
in published package (@boneskull)--no-timeouts
and--timeout 0
now does what you'd expect (@boneskull)--no-exit
option (@boneskull)SIGINT
(@boneskull)--forbid-only
and--forbid-pending
now "fail fast" when encountered on a suite (@outsideris)start
andend
events now emitted properly fromRunner
instance when using Mocha programmatically (@outsideris)stdout:
prefix in browser console (@Bamieh)utils.isPromise()
(@fabiosantoscode)--bail
would not execute "after" nor "after each" hooks (@juergba)TERM=dumb
(@plroebuck)📖 Documentation
.github/CONTRIBUTING.md
(@markowsiak)slow
option (@finfin)--watch
docs (@benglass)🔩 Other
ms
userland module instead of hand-rolled solution (@gizemkeser)Commits
The new version differs by 209 commits ahead by 209, behind by 39.
42303e2
Release v6.0.0
a553ca7
punctuation updates for changelog v6.0.0
c710792
grammar updates for changelog v6.0.0
9f9293a
update changelog for v6.0.0
a540eb0
remove "projects" section from MAINTAINERS.md [ci skip]
52b5c42
Uppercased JSON reporter name in
describe
title (#3739)82307fb
Fix
.globals
to remove falsy values (#3737)56dc28e
Remove unnecessary post-processing code having no effect; closes #3708 (#3733)
16b4281
Documentation updates (#3728)
5d9d3eb
Update nyc
118c9ae
Refactor out usages of Suite#_onlyTests and Suite#_onlyTests (#3689) (#3707)
0dacd1f
Add ability to unload files from
require
cache (redux) (#3726)66a52f2
update release steps [ci skip]
45ae014
Refactor
lookupFiles
andfiles
(#3722)94c9320
fix --reporter-option to allow comma-separated options; closes #3706
There are 209 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
The text was updated successfully, but these errors were encountered: