Update ava to version 0.14.0 🚀 #10
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello 👋
🚀🚀🚀
ava just published its new version 0.14.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of ava – otherwise use this branch to work on adaptions and fixes.
Happy fixing and merging 🌴
GitHub Release
The biggest change in this release is the deprecation of
t.ok,t.notOk, andt.sameassertions. We have published a codemod which should make switching to the new API very easy.Also, we've added a
--timeoutflag that will stop test execution after a certain period of inactivity.Highlights
A number of assertion methods have been renamed. The old methods still exist, but have been deprecated, and will be removed in a future release (e9c6cc2, a7f50eb). We have published
ava-codemodsto assist in renaming these assertions in your tests.t.ok()=>t.truthy()t.notOk()=>t.falsy()t.same()=>t.deepEqual()Added an idle timeout to prevent test runs from hanging indefinitely. The test run is considered timed out when no test results have been received for the specified interval. d1a3669
Of Note
.onlytests, regardless of dependency graph e57908at.deepEqual()(formerlyt.same()) no longer compares constructors. a7826cfskip/todotests. ecc87cbt.throws()does not return error for synchronous methods. 26d2291serialize-errortoclean-yaml-object(better compatibility withnode-tap). cd5767erequire("babel-runtime")in tests to absolute path (allows module resolution fornpm@2without modifyingNODE_PATHS). 382e50d.js.mapextensions for cached source maps. 934d57f--requiredependency is not found. c78e736test.todo(). 8d6490aComplete Changelog
v0.13.0...v0.14.0
The new version differs by 71 commits .
1e0b1c10.14.0e57908awatch mode always runs all exclusive tests08ce255Replace "callback" with "implementation" when talking about tests21bdcc5Add test-like output when test file does not exist61848eewatcher: fix recursive test file matcher37c67b9Docs: Link to French translation for babelrc recipea7f50ebrenamet.ok()tot.truthy()andt.notOk()tot.falsy()``bcda753Add a recipe for properly configuring babel when using.babelrc.9288d78add tests that demonstrate various ways to use babel config.8465934Bump convert-source-map dependency, clean up duplicate require call5b3c27adon't modify configured babel plugins arrayc4ec8e7Clean up caching-precompilere9c6cc2renamet.same()tot.deepEqual()``e3e1752Merge pull request #654 from sindresorhus/timeout8d6490aMaketest.todo(title, fn)produce a failureThere are 71 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡It keeps your software, up to date, all the time.