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
But, if I want to know which integrity error I'm catching, I need to either do some regexp matching on its message, or dig into the internals like this library does.
I sometimes want to assert that a particular integrity error was raised during a test. At the moment I can do:
But, if I want to know which integrity error I'm catching, I need to either do some regexp matching on its message, or dig into the internals like this library does.
I'd love to be able to do:
alternatives
I could also wrap the existing conversion code:
But that's a bit awkward. A helper for it would be so much easier to use.
The text was updated successfully, but these errors were encountered: