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
Whenever I use toMatchSnapshot () as in expect (val).toMatchSnapshot () and that it fails, no exception is being thrown as this is done for other matchers. Not sure if it matters, but I always use async calls.
To Reproduce
test ("Async snapshot", async () =>
{
expect ("Some value not matching previous snapshot").toMatchSnapshot ();
}
Expected behavior
An exception is thrown so I can catch it like this is done for other matchers.