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
{{ message }}
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
And most of the time in a single test you want to test a behaviour of your component if one of the default functions return something else (e.g. an error)
Therefore it would be great to override an expectation with a new one (or at least to clear expectations for a function)
So you could define a default behaviour of all functions (e.g. success case) and be able to override single functions that should behave different in specific tests.
Or is there a best practive for this?
zjshen14, Terminator637, andrewmains12, adglkh, x22n and 15 more