Comments (8)
After pinning to 5.0.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
from jsklass.
Version 5.0.2 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.0.25.0.2 / 2018-03-05
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!
🐛 Fixes
-
#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 theend
event twice; you may need to change your reporter to userunner.once('end')
intead ofrunner.on('end')
. -
#3093: Fix stack trace reformatting problem (@outsideris)
:nut_and_bolt Other
- #3248: Update
browser-stdout
to v1.3.1 (@honzajavorek)
Commits
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
from jsklass.
Version 5.0.3 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.0.35.0.3 / 2018-03-06
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
🔒 Security Fixes
🔩 Other
- #3011: Expose
generateDiff()
inBase
reporter (@harrysarson)
Commits
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 [email protected] › [email protected] (#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
from jsklass.
Version 5.0.4 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.0.45.0.4 / 2018-03-07
🐛 Fixes
- #3265: Fixes regression in "watch" functionality introduced in v5.0.2 (@outsideris)
Commits
The new version differs by 3 commits.
851ad29
Release v5.0.4
868830a
update CHANGELOG.md for v5.0.4 [ci skip]
eb09421
restore removed methods which still used
See the full diff
from jsklass.
Version 5.0.5 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.0.55.0.5 / 2018-03-22
Welcome @outsideris to the team!
🐛 Fixes
- #3096: Fix
--bail
failing to bail within hooks (@outsideris) - #3184: Don't skip too many suites (using
describe.skip()
) (@outsideris)
📖 Documentation
- #3133: Improve docs regarding "pending" behavior (@ematicipo)
- #3276, #3274: Fix broken stuff in
CHANGELOG.md
(@tagoro9, @honzajavorek)
🔩 Other
- #3208: Improve test coverage for AMD users (@outsideris)
- #3267: Remove vestiges of PhantomJS from CI (@anishkny)
- #2952: Fix a debug message (@boneskull)
Commits
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
from jsklass.
Version 5.1.0 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.1.05.1.0 / 2018-04-12
🎉 Enhancements
🐛 Fixes
- #3318: Fix failures in circular objects in JSON reporter (@jeversmann, @boneskull)
📖 Documentation
- #3323: Publish actual API documentation! (@dfberry, @Munter)
- #3299: Improve docs around exclusive tests (@nicgirault)
🔩 Other
- #3302, #3308, #3310, #3315, #3316: Build matrix improvements (more info) (@outsideris, @boneskull)
- #3272: Refactor reporter tests (@jMuzsik)
Commits
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
from jsklass.
Version 5.1.1 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.1.15.1.1 / 2018-04-18
🐛 Fixes
- #3325: Revert change which broke
--watch
(@boneskull)
Commits
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
from jsklass.
Version 5.2.0 just got published.
Your tests are still failing with this version. Compare the changes
Release Notes
v5.2.05.2.0 / 2018-05-18
🎉 Enhancements
- #3375: Add support for comments in
mocha.opts
(@plroebuck)
🐛 Fixes
- #3346: Exit correctly from
before
hooks when using--bail
(@outsideris)
📖 Documentation
🔩 Other
- #3330: Use
Buffer.from()
(@harrysarson) - #3295: Remove redundant folder (@DavNej)
- #3356: Refactoring (@plroebuck)
Commits
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
from jsklass.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsklass.