Skip to content

best practices for catching exceptions except chai assert failure #1535

Answered by keithamus
vapier asked this question in Support
Discussion options

You must be logged in to vote

You can check that it is an instanceof AssertionError, which is a library export. All chai errors are AssertionError instances.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by keithamus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants