v6.1.0
What's Changed
-
Implement
registerCompletionHandler()
by @novemberborn in #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 #3287
-
Fix
ava/internal
ESM type module by @codetheweb in #3292
Full Changelog: v6.0.1...v6.1.0