-
Notifications
You must be signed in to change notification settings - Fork 27
Update mocha to the latest version 🚀 #31
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
base: master
Are you sure you want to change the base?
Conversation
handle no authorization header case
Codecov Report
@@ Coverage Diff @@
## master #31 +/- ##
=======================================
Coverage 66.83% 66.83%
=======================================
Files 12 12
Lines 196 196
Branches 28 28
=======================================
Hits 131 131
Misses 48 48
Partials 17 17Continue to review full report at Codecov.
|
Update to this version instead 🚀 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 |
Update to this version instead 🚀 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 |
Update to this version instead 🚀 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 |
|
|
|
|
|
|
|
|
|
23f3082 to
a3f376a
Compare
|
|
|
🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚 Find out how to migrate to Snyk at greenkeeper.io
|
The devDependency mocha was updated from
5.2.0to6.0.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v6.0.0
6.0.0 / 2019-02-18
💥 Breaking Changes
--grepand--fgrepare now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring--grep--compilersis no longer supported; attempting to use will cause Mocha to fail with a link to more information-dis no longer an alias for--debug;-dis currently ignored--watch-extensionsno longer impliesjs; it must be explicitly added (@TheDancingCode)tapreporter emits error messages (@chrmod)beforehook, subsequentbeforehooks and tests in nested suites are now skipped (@bannmoore)lib/template.htmlhas moved tolib/browser/template.html(@boneskull)mocha.optsat a user-specified path (@plroebuck)Base-extending reporter without aRunnerparameter will throw an exception (@craigtaub)codeproperty (and some will have additional metadata). SomeErrormessages have changed. Please use thecodeproperty to checkErrortypes instead of themessageproperty; 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:
-gcusers should use--gc-globalinsteadbin/optionsshould now use theloadMochaOptsorloadOptions(preferred) functions exported by thelib/cli/optionsmoduleRegarding the
Mochaclass constructor (fromlib/mocha):color: falseinstead ofuseColors: falsetimeout: falseinstead ofenableTimeouts: falseAll of the above deprecations were introduced by #3556.
mocha.optsis now considered "legacy"; please prefer RC file orpackage.jsonovermocha.opts.🎉 Enhancements
requirecache (@plroebuck)Enhancements introduced in #3556:
Mocha now supports "RC" files in JS, JSON, YAML, or
package.json-based (usingmochaproperty) format.mocharc.js,.mocharc.json,.mocharc.yamlor.mocharc.ymlare valid "rc" file names and will be automatically loaded--config /path/to/rc/fileto specify an explicit path--package /path/to/package.jsonto specify an explicitpackage.jsonto read themochaprop from--no-configor--no-packageto completely disable loading of configuration via RC file andpackage.json, respectivelypackage.jsonmocha.optsNode/V8 flag support in
mochaexecutable:nodeflags as supported by the running version ofnode(also thanks to @demurgos)--v8-to the flag namepackage.jsonproperties, ormocha.opts--inspect) now imply--no-timeouts--debugwill automatically invoke--inspectif supported by running version ofnodeSupport negation of any Mocha-specific command-line flag by prepending
--no-to the flag nameInterfaces now have descriptions when listed using
--interfacesflagMochaconstructor supports all options--extensionis now an alias for--watch-extensionsand 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:
tapreporter is now TAP13-capable (@plroebuck & @mollstam)#3535: Mocha's version can now be queried programmatically via public property
Mocha.prototype.version(@plroebuck)#3428:
xunitreporter shows diffs (@mlucool)#2529:
Runnernow emits aretryevent when tests are retried (reporters can listen for this) (@catdad)#2962, #3111: In-browser notification support; warn about missing prereqs when
--growlsupplied (@plroebuck)🐛 Fixes
Suite#_onlyTestsandSuite#_onlySuites(@vkarpov15)lookupFilesandfiles(@plroebuck)--delay(and other boolean options) not working in all cases (@boneskull)--reporter-option/--reporter-optionsdid not support comma-separated key/value pairs (@boneskull)mocharc.jsonin published package (@boneskull)--no-timeoutsand--timeout 0now does what you'd expect (@boneskull)--no-exitoption (@boneskull)SIGINT(@boneskull)--forbid-onlyand--forbid-pendingnow "fail fast" when encountered on a suite (@outsideris)startandendevents now emitted properly fromRunnerinstance when using Mocha programmatically (@outsideris)stdout:prefix in browser console (@Bamieh)utils.isPromise()(@fabiosantoscode)--bailwould not execute "after" nor "after each" hooks (@juergba)TERM=dumb(@plroebuck)📖 Documentation
.github/CONTRIBUTING.md(@markowsiak)slowoption (@finfin)--watchdocs (@benglass)🔩 Other
msuserland module instead of hand-rolled solution (@gizemkeser)Commits
The new version differs by 209 commits ahead by 209, behind by 39.
42303e2Release v6.0.0a553ca7punctuation updates for changelog v6.0.0c710792grammar updates for changelog v6.0.09f9293aupdate changelog for v6.0.0a540eb0remove "projects" section from MAINTAINERS.md [ci skip]52b5c42Uppercased JSON reporter name indescribetitle (#3739)82307fbFix.globalsto remove falsy values (#3737)56dc28eRemove unnecessary post-processing code having no effect; closes #3708 (#3733)16b4281Documentation updates (#3728)5d9d3ebUpdate nyc118c9aeRefactor out usages of Suite#_onlyTests and Suite#_onlyTests (#3689) (#3707)0dacd1fAdd ability to unload files fromrequirecache (redux) (#3726)66a52f2update release steps [ci skip]45ae014RefactorlookupFilesandfiles(#3722)94c9320fix --reporter-option to allow comma-separated options; closes #3706There 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 🌴