ava v3.14.0 Release Notes
Release Date: 2020-12-07 // almost 4 years ago-
Snapshot ordering
๐ With this release, snapshot files are now ordered based on test declaration, not completion. This makes it easier to compare the human-readable reports to your test file, and also stops the
.snap
from changing when the reports themselves don't. You'll want to rebuild snapshots after upgrading to this release to isolate any changes. Thanks @ninevra! e66b54c๐ท Shared workers
โ Weโve been working on making AVA more extensible. One major step on this path is our new shared worker support: run code in the main process, communicate with test workers and influence execution. Find out more in our shared workers recipe.
๐ See v3.13.0...v3.14.0 for all changes.
Previous changes from v3.13.0
-
- โ
t.passed
can now be used in tests and teardown functions. Thanks @tymfear! 900dc6d - In AVA 4, you'll no longer be able to pass
null
as the expectation fort.throws()
&t.throwsAsync()
. You can opt in to this early by enabling thedisableNullExpectations
experiment. Thanks @JSimoni42! f328a69 - โก๏ธ The Enzyme recipe has been updated. Thanks @jonathansamines! db5d2c3
- โก๏ธ The TypeScript recipe has been updated. Thanks @SephReed! a3379fa
๐ See v3.12.1...v3.13.0 for all changes.
- โ