ava v1.3.1 Release Notes

Release Date: 2019-03-05 // about 5 years ago
  • ๐Ÿ› Bug fixes

    • We've fixed a rather embarrasing bug with t.throws() and t.throwsAsync(). If you'd set a code expectation to a number we never actually checked that the thrown error had such a code! Thanks to @qlonik for both spotting and fixing this. 82daa5e
    • ๐Ÿ“ฆ 1.2.0 contained a regression which meant that if you faked clearTimeout(), you'd break AVA. That's now been fixed. 40f331c
    • Snapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6f

    ๐Ÿ†• New features

    You can now use require() in ava.config.js files to load non-ES modules. 334e15b

    All changes

    v1.2.1...v1.3.1

    Thanks

    ๐Ÿš€ Thank you @itaisteinherz, @jdalton, @kagawagao, @KompKK, @SleeplessByte, @Chrisyee22 and @qlonik for helping us with this release. We couldn't have done this without you!

    Get involved

    We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.