-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The devDependency ava was updated from 2.3.0 to 2.4.0.
This version is covered by your current version range and after updating it in your project the build failed.
ava 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
- ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).
Release Notes for 2.4.0
Experimental t.try() assertions
Thanks to the amazing work and patience of @qlonik we're shipping a new assertion! t.try() lets you perform assertions and decide whether to commit or discard their outcome. All kinds of interesting things can be built on top of this, from fuzzy testers to new test interfaces and more.
We're excited to get this out there, but it's not quite done yet. For now you have to opt in to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable.
To opt in, configure AVA with the following:
package.json:
{
"ava": {
"nonSemVerExperiments": {
"tryAssertion": true
}
}
}ava.config.js:
export default { nonSemVerExperiments: { tryAssertion: true } };
We'd love to hear your feedback. Please join us in this issue: #2250
Also, if you're looking to help out with the remaining issues so that we can ship this without the opt-in, have a look at this project: https://github.com/orgs/avajs/projects/1
Thanks again @qlonik!
Other changes
- We've added the common pitfall of sharing variables across asynchronous tests 49b202f
- We've updated the endpoint testing recipe to focus on the concept, not specific libraries 67e4dea
All changes
Thanks
Thank you @jeremenichelli, @jamesgeorge007, @dongjae93, @qlonik and @tryzniak. We couldn't have done this without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.
Commits
The new version differs by 14 commits.
05f077e2.4.0ca4eff7Bump dependencies67e4deaUpdate endpoint testing recipe to focus on the concept, not libraries4fdb02dImplement experimental t.try() assertion782c2d8Run some tests on Travis still4c890d9Add OpenCollective link to README03c1509Groundwork to support experimental features0a5c933Remove unnecessary flag from tap invocatione598c30Detect whether error source is on a different drive (on Windows)fb0c536Fix serialize-error tests on Windows with GitHub Actions53d7fe1Allow some fixtures to pass linting when XO is installed without lockfile11771baRun CI using GitHub Actions5538bdcReplace an indexOf() by includes()49b202fAdd shared variables & asynchronous tests to common pitfalls
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 🌴