ava v3.14.0 Release Notes

Release Date: 2020-12-07 // over 3 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 for t.throws() & t.throwsAsync(). You can opt in to this early by enabling the disableNullExpectations 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.