Please sign in to comment.
test: use assert.rejects
This verifies that the test actually rejects at this point by using `assert.rejects` instead of `try / catch`. PR-URL: #27123 Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Yuta Hiroto <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com>
- Loading branch information...
Showing with 7 additions and 5 deletions.