Closed greenkeeper[bot] closed 5 years ago
@greenkeeper[bot], thanks for your PR! By analyzing the history of the files in this pull request, we identified @luoyjx, @greenkeeperio-bot and @greenkeeper to be potential reviewers.
Update to this version instead 🚀
Update to this version instead 🚀
--forbid-only
and --forbid-pending
flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph)--napi-modules
flag (@jupp0r)The new version differs by 34 commits.
82d879f
Release v3.5.0
bf687ce
update mocha.js for v3.5.0
ec73c9a
update date for release of v3.5.0 in CHANGELOG [ci skip]
1ba2cfc
update CHANGELOG.md for v3.5.0 [ci skip]
065e14e
remove custom install script from travis (no longer needed)
4e87046
update karma-sauce-launcher URL for npm@5
6886ccc
increase timeout for slow-grepping test
2408d90
Make dependencies use older version of readable-stream to work around incompatibilities introduced by 2.3.0 on June 19th
68a1466
Try not clearing the env for debug in the integration test and see if that fixes Node 0.10 on AppVeyor; if need be, some other fix/workaround can be applied to handle whatever was up with debug without causing this issue
958fbb4
Update new tests to work in browser per test hierarchy reorganization
1df7c94
Merge pull request #2704 from seppevs/increase_test_coverage_of_mocha_js
1f270cd
Stop timing out (#2889)
27c7496
upgrade to debug@2.6.8; closes #2859 (#2860)
50fc47d
fix CI; closes #2867 (#2868)
1b1377c
Add test for ignoreLeaks and fix descriptions
There are 34 commits in total.
See the full diff
Update to this version instead 🚀
xit
export for "require" interface (@solodynamo)--compilers
coverage (@ScottFreeCode)The new version differs by 14 commits.
4070a44
Release v3.5.1
466ba73
update CHANGELOG.md for v3.5.1 [ci skip]
1cc0fc0
import/require xit, fixes #2972
74fa66f
update nyc to latest; remove workaround in travis script
aa52933
update coveralls strategy; closes #2984
73a5338
Spelling (#2981)
9f403bf
Add utils.escape
tests and fix unicode escaping
800acbc
whitelist "developer-experience" tag for stalebot [ci skip]
5895671
Added issue, pull request templates. (#2869)
075bd51
Merge pull request #2918 from mochajs/no-shell-test
8710438
Work around Node 0.10 Windows flake when testing
13b8340
Ensure that compiler lookup works and not just that transpilation works (#2922)
26d337a
Add tests for double-star behavior
c0e6b68
Eliminate glob.sh
See the full diff
Update to this version instead 🚀
The new version differs by 5 commits.
72622ab
Release v3.5.2
ac4c39f
fix version in CHANGELOG.md [ci skip]
f06d969
update CHANGELOG for 3.5.2 [ci skip]
9a3ddeb
fix AMD bundle by hacking around check in he
module; closes #3000
337d317
fix broken links in CHANGELOG.md [ci skip]
See the full diff
Update to this version instead 🚀
Update to this version instead 🚀
You might want to read this before filing a new bug!
For more info, please read this article.
node
from exiting will do so when run in Mocha. Supply the --exit
flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)stdout:
prefix from browser reporter logs (@skeggse)--forbid-pending
or --forbid-only
is specified (@ScottFreeCode)--compilers
command-line option is now soft-deprecated and will emit a warning on STDERR
. Read this for more info and workarounds (@ScottFreeCode, @boneskull)The new version differs by 48 commits.
d69bf14
Release v4.0.0
171b9f9
pfix "prepublishOnly" potential portability problem
60e39d9
Update link to wiki (GitHub at the leading --
)
804f9d5
Update link because GitHub ate the leading --
3326c23
update CHANGELOG for v4.0.0 [ci skip]
6dd9252
add link to wiki on --compilers deprecation
96318e1
Deprecate --compilers
92beda9
drop bower support
58a4c6a
remove unused .npmignore
7af6611
kill Date#toISOString shim
43501a2
reduce noise about slow tests; make a few tests faster, etc.
fa228e9
update --exit / --no-exit integration test for new default behavior
3fdd3ff
Switch default from forced exit to no-exit
c5d69e0
add integration tests for --exit/--no-exit
3a7f8dc
enhance runMochaJSON() helper by returning the subprocess instance
There are 48 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 6 commits.
eb8bf8d
Release v4.0.1
3b485ea
update CHANGELOG.md for v4.0.1 [ci skip]
96e5c1a
upgrade eslint to v4.8.0
d7cff37
Update growl to 1.10.3
0cdd921
remove preversion script; test on publish; closes #2999
f49c0ce
Fix changelog issues/pr URLs (#3047)
See the full diff
Update to this version instead 🚀
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
progress
reporter now accepts reporter options (@canoztokmak)xit
in bdd
interface now properly returns its Test
object (@Bamieh)--help
will now help you even if you have a mocha.opts
(@Zarel)--no-diff
flag will completely disable diff output (@CapacitorSet)docs/
(@boneskull)The new version differs by 409 commits.
6b9ddc6
Release v4.1.0
3c4b116
update CHANGELOG for v4.1.0
5be22b2
options.reporterOptions
are used for progress reporter
ea96b18
add .fossaignore [ci skip]
adc67fd
Revert "[ImgBot] optimizes images (#3175)"
ae3712c
[ImgBot] optimizes images (#3175)
33db6b1
Use x64 node on appveyor
4a6e095
Run appveyor tests on x64 platform. Might enable sharp installation
3abed9b
Lint netlify-headers script
119543e
Add preconnect for doubleclick domain that google analytics results in contacting
bd5109e
Remove crossorigin='anonymous' from preconnect hints. Only needed for fonts, xhr and es module loads
123ee4f
Handle the case where all avatars are already loaded at the time when the script exexecutes
64deadc
Specific value for inlining htmlimages to guarantee logo is inlined
8f1ded4
https urls where possible
d5a5125
Be explicit about styling of screenshot images
There are 250 commits in total.
See the full diff
Update to this version instead 🚀
Mocha starts off 2018 right by again dropping support for unmaintained rubbish.
Welcome @vkarpov15 to the team!
--file
command line argument (documentation) (@hswolff)--no-timeouts
docs (@dfberry)done()
callback docs (@maraisr)README.md
organization (@xxczaki)The new version differs by 26 commits.
cc4a818
Release v5.0.0
9f61c04
finalize v5.0.0 CHANGELOG [ci skip]
a7267b4
remove more references to make and Makefile
dc58252
prep changelog for v5.0.0 [ci skip]
f8a1d2a
docs(index): add missing doc link (#3203); closes #3135
401997f
update package-lock.json
50aec7a
Add ability to pass in test files to be ran before positional files via --file (#3190)
7d8abe0
fix id and class definition
0a3e32b
Rewrite Makefile using NPS Scripts. Closes #2352
c7730a6
Drop TextMate integration inside mocha closes #3118
5c6e99b
update ESM tests to run against headless chrome instead of saucelabs' chrome only
ac1dd70
attempt to get travis working again
e8b5592
Align netlify config with admin panel
565726d
Added Netlify config file
e54370e
replace phantomjs with puppeteer for browser tests; closes #3128
There are 26 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 15 commits.
09ce746
Release v5.0.1
70027b6
update changelog for v5.0.1 [ci skip]
44aae9f
add working wallaby config
412cf27
[Update] license year
b7377b3
rename help-wanted to "help wanted" in stale.yml
d975a6a
fix memory leak when run in v8; closes #3119
3509029
update .gitignore to only ignore root mocha.js [ci skip]
b57f623
fix: When using --delay, .only() no longer works. Issue #1838
cd74322
Slight copy update on docs for test directory
f687d2b
update docs for the glob
14fc030
Add all supported wallaby editors
2e7e4c0
rename "common-mistake" label to "faq"
bca57f4
clarify docs on html, xunit and 3p reporters; closes #1906
2fe2d01
Revert "fix travis "before script" script"
c0ac1b9
fix travis "before script" script
See the full diff
Update to this version instead 🚀
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!
#3226: Do not swallow errors that are thrown asynchronously from passing tests (@boneskull). Example:
it('should actually fail, sorry!', function (done) {
// passing assertion
assert(true === true);
// test complete & is marked as passing
done();
// ...but something evil lurks within
setTimeout(() => {
throw new Error('chaos!');
}, 100);
});
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.
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')
.
#3093: Fix stack trace reformatting problem (@outsideris)
browser-stdout
to v1.3.1 (@honzajavorek)The new version differs by 13 commits.
f2ee53c
Release v5.0.2
ff1bd9e
update package-lock.json
6a796cb
prepare CHANGELOG for v5.0.2 [ci skip]
0542c40
update README.md; closes #3191 [ci skip]
afcd08f
add MAINTAINERS.md to .fossaignore [ci skip]
3792bef
add opencollective header image to assets/
5078fc5
persist paths in stack trace which have cwd as infix
2c720a3
do not eat exceptions thrown asynchronously from passed tests; closes #3226
3537061
Update to correctly licensed browser-stdout version
ec8901a
remove unused functionality in utils module
f71f347
rename wallaby.js -> .wallaby.js
c4ef568
fix PR url
73d55ac
fix typos in changelog [ci skip]
See the full diff
Update to this version instead 🚀
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
generateDiff()
in Base
reporter (@harrysarson)The new version differs by 6 commits.
da6e5c9
Release v5.0.3
70d9262
update CHANGELOG.md for v5.0.3 [ci skip]
aaaa5ab
fix: ReDoS vuln in mocha@5.0.2 › diff@3.3.1 (#3266)
8df5727
Tidies up code after review
660bccc
adds unit tests covering Base.generateDiff
bdcb3c3
exposes generateDiff function from base reporter
See the full diff
Update to this version instead 🚀
Update to this version instead 🚀
Welcome @outsideris to the team!
--bail
failing to bail within hooks (@outsideris)describe.skip()
) (@outsideris)CHANGELOG.md
(@tagoro9, @honzajavorek)The new version differs by 18 commits.
c11e1e2
Release v5.0.5
b5a556e
add changes for v5.0.5 [ci skip]
424ef84
increase default timeout for browser unit tests
19104e3
fix debug msg in Runnable#slow; closes #2952
f4275b6
extract checking AMD bundle as own test
19b764d
Addressed feedback
2c19503
Fixed linting
ab84f02
chore(docs): rewording pending tests
6383916
fix to bail option works properly with hooks (#3278)
0060884
keep hierarchy for skipped suites w/o a callback
39df783
docs: Fix typo in an emoji
27af2cf
fix(changelog): update links to some PRs
d76f490
chore(ci): Remove PHANTOMJS_CDNURL, nit
86af6bb
fix my carelessness in e19e879
e19e879
ensure lib/mocha.js is not ignored by ESLint
There are 18 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 23 commits ahead by 23, behind by 2.
40d9ea3
Release v5.1.0
bf34e42
update CHANGELOG for v5.1.0 [ci skip]
63462dd
Implement API documentation using npm:documantation.
741b0bd
fix circular objects in json reporter; closes #2433 (#3318)
8010501
fix wrong version in package.json! [ci skip]
94e7289
doc precision for exclusive tests
8b6c957
optimize package-scripts.js
d71b80a
PATH workaround for Travis CI bug
7544bd3
further build improvements (#3315)
88b9882
update package-lock.json for v5.0.5 [ci skip]
4ae26b2
improve caching performance in CI (#3310)
ff9f3cf
update stages and build matrices (#3308)
f2560e7
add update-contributors script; closes #3289 (#3290)
cd1c835
upgrade eslint; lint
35dac3e
use build stages for Travis CI (#3302)
There are 23 commits in total.
See the full diff
Update to this version instead 🚀
--watch
(@boneskull)The new version differs by 6 commits.
e0bc1c1
Release v5.1.1
eac31fe
update package-lock.json [ci skip]
fde558d
update CHANGELOG.md for v5.1.1 [ci skip]
a5fd5e6
Revert "remove default js in "--watch-extensions" option; closes #3275"
7057638
update outdated info in docs/README.md [ci skip]
5212718
fix ESLint problems and consolidate configuration
See the full diff
Update to this version instead 🚀
mocha.opts
(@plroebuck)before
hooks when using --bail
(@outsideris)Buffer.from()
(@harrysarson)The new version differs by 30 commits.
5bd33a0
Release v5.2.0
0a5604f
reformat missed files
7c8f551
ensure scripts/*.js gets prettiered
d8ea2ba
update CHANGELOG.md for v5.2.0 [ci skip]
7203ed7
update all dependencies
fb5393b
migrate Mocha's tests to Unexpected assertion library (#3343)
fae9af2
docs(docs/index.md): Update "mocha.opts" documentation
9d9e6c6
feat(bin/options.js): Add support for comment lines in "mocha.opts"
e0306ff
fix busted lint-staged config
f2be6d4
Annotate when exceptions are caught but ignored; closes #3354 (#3356)
889e681
remove dead code in bin/_mocha
8712b95
fix(ocd): re-order Node.js tests in .travis.yml (descending)
3ab0e7e
fix to exit correctly when using bail flag
d87b12e
add Node.js v10 to build; fix win32 issues (#3350)
b392af5
update package-lock.json for npm@6 [ci skip]
There are 30 commits in total.
See the full diff
devDependency
mocha was updated from 3.4.1
to 6.0.0
.Update to this version instead 🚀
--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 implies js
; it must be explicitly added (@TheDancingCode)tap
reporter emits error messages (@chrmod)before
hook, subsequent before
hooks and tests in nested suites are now skipped (@bannmoore)lib/template.html
has moved to lib/browser/template.html
(@boneskull)mocha.opts
at a user-specified path (@plroebuck)Base
-extending reporter without a Runner
parameter will throw an exception (@craigtaub)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)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 the loadMochaOpts
or loadOptions
(preferred) functions exported by the lib/cli/options
moduleRegarding the Mocha
class constructor (from lib/mocha
):
color: false
instead of useColors: false
timeout: false
instead of enableTimeouts: false
All of the above deprecations were introduced by #3556.
mocha.opts
is now considered "legacy"; please prefer RC file or package.json
over mocha.opts
.
require
cache (@plroebuck)Enhancements introduced in #3556:
Mocha now supports "RC" files in JS, JSON, YAML, or package.json
-based (using mocha
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 explicit package.json
to read the mocha
prop from--no-config
or --no-package
to completely disable loading of configuration via RC file and package.json
, respectivelypackage.json
mocha.opts
Node/V8 flag support in mocha
executable:
node
flags as supported by the running version of node
(also thanks to @demurgos)--v8-
to the flag namepackage.json
properties, or mocha.opts
--inspect
) now imply --no-timeouts
--debug
will automatically invoke --inspect
if supported by running version of node
Support negation of any Mocha-specific command-line flag by prepending --no-
to the flag name
Interfaces now have descriptions when listed using --interfaces
flag
Mocha
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 only test/*.coffee
(not test/*.js
), you can do mocha --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)
#2529: Runner
now emits a retry
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)
Suite#_onlyTests
and Suite#_onlySuites
(@vkarpov15)lookupFiles
and files
(@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
and end
events now emitted properly from Runner
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).github/CONTRIBUTING.md
(@markowsiak)slow
option (@finfin)--watch
docs (@benglass)ms
userland module instead of hand-rolled solution (@gizemkeser)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
and files
(#3722)
94c9320
fix --reporter-option to allow comma-separated options; closes #3706
There are 209 commits in total.
See the full diff
devDependency
mocha was updated from 3.4.1
to 6.0.1
.Update to this version instead 🚀
The obligatory round of post-major-release bugfixes.
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from a describe
callback is no longer considered deprecated (@boneskull)@mocha/docdash@2
(@tendonstrength)The new version differs by 9 commits.
6d3d6b4
Release v6.0.1
2146ece
update CHANGELOG.md for v6.0.1
7c9221d
backout deprecation of value returned from suite; closes #3744
b7cfceb
fix --watch not finding any files to execute; closes #3748
b836d73
Upgrade docdash version - issue #3663
7926f47
fix --ui issues, closes #3746
00f2ed9
dev dep upgrades from "npm audit" and "npm upgrade"
34afb1a
fix(cli/run.js): Revert default glob to match Mocha-5.2
6d5a0db
Bring the example congfiguration file in line with the documentation. (#3751)
See the full diff
devDependency
mocha was updated from 3.4.1
to 6.0.2
.Update to this version instead 🚀
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certain node
flags (@boneskull)The new version differs by 6 commits.
00a895f
Release v6.0.2
1edce76
update CHANGELOG for v6.0.2 [ci skip]
347e9db
fix broken positional arguments in config; ensure positional args are unique; closes #3763
9e31e9d
fix handling of bareword args matching node flags; closes #3761
6535965
Update "karma-browserify" to eliminate Karma middleware warning (#3762)
37febb6
improve issue template. (#3411)
See the full diff
devDependency
mocha was updated from 3.4.1
to 6.1.0
.Update to this version instead 🚀
options
parameter (@plroebuck).jsonc
extension (@sstephant)These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
this.skip()
in "before each" hooks (@juergba)--allow-uncaught
for uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suite
cloning by copying root
property (@fatso83)The new version differs by 28 commits.
f4fc95a
Release v6.1.0
bd29dbd
update CHANGELOG for v6.1.0 [ci skip]
aaf2b72
Use cwd-relative pathname to load config file (#3829)
b079d24
upgrade deps as per npm audit fix; closes #3854
e87c689
Deprecate this.skip() for "after all" hooks (#3719)
81cfa90
Copy Suite property "root" when cloning; closes #3847 (#3848)
8aa2fc4
Fix issue 3714, hide pound icon showing on hover header on docs page (#3850)
586bf78
Update JS-YAML to address security issue (#3845)
d1024a3
Update doc examples "tests.html" (#3811)
1d570e0
Delete "/docs/example/chai.js"
ade8b90
runner.js: "self.test" undefined in Browser (#3835)
0098147
Replace findup-sync with find-up for faster startup (#3830)
d5ba121
Remove "package" flag from sample config file because it can only be passes as CLI arg (#3793)
a3089ad
update package-lock
75430ec
Upgrade yargs-parser dependency to avoid loading 2 copies of yargs
There are 28 commits in total.
See the full diff
devDependency
mocha was updated from 3.4.1
to 6.1.1
.devDependency
mocha was updated from 3.4.1
to 6.1.2
.devDependency
mocha was updated from 3.4.1
to 6.1.3
.devDependency
mocha was updated from 3.4.1
to 6.1.4
.devDependency
mocha was updated from 3.4.1
to 6.2.0
.devDependency
mocha was updated from 3.4.1
to 6.2.1
.devDependency
mocha was updated from 3.4.1
to 6.2.2
.
Version 3.4.2 of mocha just got published.
The version 3.4.2 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of mocha. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
fake-success3.4.2 / 2017-05-24
Commits
The new version differs by 7 commits.
a15b20a
:ship: Release v3.4.2
fc802a9
:memo: Add Changelog for v3.4.2
10ff0ec
Eagerly set process.exitCode (#2820)
fc35691
Merge pull request #2818 from makepanic/issue/2802
3e7152f
Remove call to deprecated os.tmpDir (#2802)
e249434
Merge pull request #2807 from mochajs/npm-script-lint
17a1770
Move linting into an npm script. Relates to #2805
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: