v6.1.0
What's Changed
-
Implement
registerCompletionHandler()by @novemberborn in https://github.com/avajs/ava/pull/3283AVA 6 expects test code to clean up gracefully when the tests are complete, allowing the test environment (worker thread or child process) to exit. If this does not happen, AVA will report a timeout. You can use
registerCompletionHandler()to perform any other clean up (or indeed exit the process) after AVA has completed the test execution. See the description here. -
Fix potential bug with watch mode when no failed test files are written by @novemberborn in https://github.com/avajs/ava/pull/3287
-
Fix
ava/internalESM type module by @codetheweb in https://github.com/avajs/ava/pull/3292
Full Changelog: https://github.com/avajs/ava/compare/v6.0.1...v6.1.0