Closed greenkeeper[bot] closed 4 years ago
After pinning to 3.3.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
devDependency
ava was updated from 3.4.0
to 3.5.0
.Your tests are still failing with this version. Compare changes
When using ava debug
, you can now specify the address or hostname the inspector is available through by using the --host
option. Thanks to @DYefimov for contributing this! 13d6651
See v3.4.0...v3.5.0 for all changes. Spoiler alert: it's just this one
devDependency
ava was updated from 3.5.0
to 3.5.1
.Your tests are still failing with this version. Compare changes
devDependency
ava was updated from 3.5.2
to 3.6.0
.Your tests are passing again with this update. Explicitly upgrade to this version π
afterEach()
and afterEach.always()
hooks can now determine whether the test passed. Thank you @bunysae for contributing this! 8f312c0:
test('passes', t => t.pass());
test.afterEach(t => {
if (t.passed) {
// Do something because the test passed
} else {
// Do something because the test failed
}
});
@mbiesiad has diligently translated our documentation to Polish. Thank you @kekuu for reviewing.
Also thank you @timgates42 for fixing a typo in our documentation. ede4f32
See v3.5.0...v3.6.0 for all changes.
The new version differs by 10 commits.
447d371
3.6.0
886b4d7
Rebuild lockfile
1f59b05
Dependency updates
489b13e
Fix TypeScript documentation for t.try()
4bf64d0
Remove link to previously removed recipe
8f312c0
Add t.passed to execution contexts
ede4f32
Fix typo in endpoint testing recipe
4c3e791
3.5.2
60784a5
Upgrade XO
f07eec8
Reorganize tests
See the full diff
The devDependency ava was updated from
3.3.0
to3.4.0
.π¨ View failing branch.
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](https://travis-ci.org/SerayaEryn/revane-fastify/builds/654102544?utm_source=github_status&utm_medium=notification)). - β **coverage/coveralls:** First build on greenkeeper/ava-3.4.0 at 100.0% ([Details](https://coveralls.io/builds/28905208)).Release Notes for 3.4.0
Introducing the
t.try()
assertionThe new
t.try()
allows you to try assertions without causing the test to fail:You can use any test implementation with
t.try()
, including (arrays of) macros. You can decide what to do with attempts. You can even run attempts concurrently, so long as they don't use snapshot assertions.This is great building block for handling all kinds of advanced test scenarios. We can't wait to see what you'll do with it! Find out more in the assertion documentation.
This feature was previously behind an experimental flag. That flag has now been removed. If you have enabled the flag you'll have to update your AVA config. Also note that as of this release, attempt titles are always prefixed with the title of the parent test 7ee3a0e.
Once again, thank you @qlonik for contributing this new assertion.
Other changes
t.throws()
andt.throwsAsync()
assertions can now be called withundefined
as the second argument. Previously, if you wanted to set an assertion message but did not want to provide any expectations for the thrown error you had to passnull
. That's still allowed, of course. d0e2161 @stavalfiava.config.js
files once again work with our@ava/typescript
package f4d4edd@types/node
7a1dacftest.cb()
is used with asynchronous functions or observables f5a8c2b @toddkcarlsonjsdom-global
instead ofbrowser-env
3f9c616 @ScrumSee v3.3.0...v3.4.0 for all changes.
Commits
The new version differs by 13 commits.
8630636
3.4.0
12ba7bc
Ship t.try() without requiring opt-in
f4d4edd
Evaluate ava.config.js scripts in current context
8831f54
Improve detection of ESM support
d0e2161
Support undefined as second argument to t.throws and t.throwsAsync
324e45f
Document
t.try()
(#2251)da52e5f
Bump dependencies
55a3649
Ensure t.try() assigns unique titles when multiple implementations are passed
7ee3a0e
Prefix attempt titles with that of parent test
a69e4f2
Bump dependencies
7a1dacf
Remove @types/node reference
3f9c616
Update Vue recipe to use JSDom rather than browser-env
f5a8c2b
Improve error message when
test.cb()
is used with promisesSee the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: