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
Consider adding a new rule, which checks that toThrow always has one argument, to match the error's message.
This would have helped me a few times, when I used toThrow without any arguments, and it caught a general TypeError, etc. when instead I wanted it to catch a specific custom error.
The text was updated successfully, but these errors were encountered:
Consider adding a new rule, which checks that
toThrow
always has one argument, to match the error's message.This would have helped me a few times, when I used
toThrow
without any arguments, and it caught a generalTypeError
, etc. when instead I wanted it to catch a specific custom error.The text was updated successfully, but these errors were encountered: