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
(I'm not author of this library) This library is becoming more "fake" than "mock". To prepare database that contain some data, you need to populate it.
You're right, calling the library mocks is a misnomer. It was true initially since everything extended Mock and implementation was minimal. I've filed #33 and #34. I'll see if #34 is doable.
Closing this since the workaround is to populate the fake db like @suztomo mentioned.
Trying to mock when().then() but I get an error:
ERROR: Bad state: Mock method was not called within when(). Was a real method called?
The text was updated successfully, but these errors were encountered: