Skip to content

7.0.0

Compare
Choose a tag to compare
@novemberborn novemberborn released this 01 Jun 11:58
32b45c0

Breaking changes

  • We now require Node.js 8 or higher 809f8c2
  • The deprecated assertion-message rule has been removed 87aeb8e
  • Options have been removed from the test-title, no-ignored-test-files & no-import-test-files rules 1218892

New rules

  • We've added a new rule test-title-format which lets you specify a pattern that all test titles must adhere to a184661
  • We've also added prefer-t-regex which enforces the use of t.regex() instead of manually using RegExp#test(). c165ac2

Improvements

  • t.falsey() can now be auto-fixed to t.false() 9ec0565
  • ESLint's meta.type property is now supported 60640f0
  • The no-ignored-test-files and no-import-test-files rules now require AVA 2.0 to be installed. They work with the test & helper file selection in your AVA configuration df6374a

Bug fixes

  • t.title is now allowed by use-t-well 0ded4b5
  • test-ended now ignores callback tests that do not have an inline implementation b8549df
  • Properties on t.context are no longer deemed to be part of t 521d009
  • no-import-test-files no longer incorrectly reports imports from dependencies c383cf6
  • no-import-test-files no longer crashes when the imported path is not a string (e.g. require(true)) 1c8ca97

All changes

v6.0.0...v7.0.0

Thanks

Thank you @Knutakir, @forresst, @GMartigny and @gurrrung. 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 articleon getting started contributing and a comprehensive contributing guide.