ava v3.14.0 Release Notes

Release Date: 2020-12-07 // 11 months 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.