Disallow null
expectations for throws
and throwsAsync
assertions
#2410
Labels
Milestone
null
expectations for throws
and throwsAsync
assertions
#2410
As a follow-up to #2401, for the next major AVA release we'll remove support for
null
expectations inthrows
andthrowsAsync
assertions. If you want to specify a message without any other expectations you should set it toundefined
instead.This can partially land behind an experimental flag, to be unflagged when the next major is (pre-)released. The the TypeScript definition can only be updated at that point.
The text was updated successfully, but these errors were encountered: