-
Notifications
You must be signed in to change notification settings - Fork 0
Update ava to the latest version 🚀 #17
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
Conversation
Version 0.19.0 just got published.Update to this version instead 🚀 Release Notes0.19.0Since our last minor release, @novemberborn has worked tirelessly on refactoring big parts of the codebase to be more correct and readable, while squashing many bugs. We've also added multiple detections that will prevent user mistakes. HighlightsWorking snapshotsWe released snapshot support with Tests fail if no assertions are run (BREAKING)Sometimes you write a test that accidentally passes, because your assertion was never run. For example, the following test passes if test('unicorn', t => { for (const animal of getAnimals()) { t.is(animal, 'unicorn'); } }); AVA now fails your test if no assertions were run. This can be a problem if you use third-party assertion libraries, since AVA cannot detect when those assertions pass. You can disable this behavior by setting the Improved
|
Version 0.19.1 just got published.Update to this version instead 🚀 Release Notes0.19.1A bugfix release. See CommitsThe new version differs by 5 commits .
See the full diff. |
Version 0.20.0 just got published.Update to this version instead 🚀 Release Notes0.20.0Today’s release is very exciting. After adding magic assert and snapshot testing we found that these features sometimes disagreed with each other. HighlightsMore magical assertsMagic assert will now always show the difference between actual and expected values. If an unexpected error occurs it’ll print all (enumerable) properties of the error which can make it easier to debug your program. More details of an object are printed, like the constructor name and the string tag. Buffers are hex-encoded with line breaks so they’re easy to read:
|
Version 0.18.2 of ava just got published.
The version 0.18.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 ava.
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
0.18.2Many bug fixes for snapshot testing, magic assert, and the type definitions: v0.18.1...v0.18.2
Commits
The new version differs by 91 commits .
98dded5
0.18.2
7cba283
Speed up flow check (#1241)
d47c5c8
Document that deepEqual() uses lodash.isequal
2ff56ce
Don't call toJSON() when formatting values
795f097
@ava/pretty-format@^1.1.0
9cea60d
Ensure test run failures crash worker (#1265)
f3b60f4
Code excerpt fixes (#1271)
8d6f9bc
Fix typo in babelrc docs
3d75834
Remove Notes section from babelrc documentation
4f87059
Ensure watcher rethrows logger errors
da68f29
Simplify failure output - fixes #1072 (#1234)
2c683b9
Clean up API tests (#1258)
8a8669c
Generate HTML coverage reports (#1259)
87ea70f
Ensure TAP reporter test does not write to stderr (#1240)
09a4765
Avoid helper compilation during API tests
There are 91 commits in total. See the full diff.
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴