ava v3.14.0 Release NotesRelease Date: 2020-12-07 // 11 months ago
🚀 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
.snapfrom 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.passedcan now be used in tests and teardown functions. Thanks @tymfear! 900dc6d
- In AVA 4, you'll no longer be able to pass
nullas the expectation for
t.throwsAsync(). You can opt in to this early by enabling the
disableNullExpectationsexperiment. 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.