You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be convenient if the return value of assert.throws() were the thrown error. This would allow you to do additional assertion on the return error; e.g. verifying that its code property has a specific value:
It would be convenient if the return value of
assert.throws()
were the thrown error. This would allow you to do additional assertion on the return error; e.g. verifying that its code property has a specific value:Alternatively, you could add support for passing a validation function as the matcher:
The text was updated successfully, but these errors were encountered: