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
@Iskander508 This is different in the way that it allows to catch the entire error object and do some more validation on this. The link above is just the example. With the expect(...).toThrow(Error) you are limited with the validation you can do in one go (eg validate error of type x is thrown or error message x is present). It's just a little bit of extra scrutiny
see this PR comment for more detail
Happy to work on this.
The text was updated successfully, but these errors were encountered: