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
feat(store): add clearResult to reset a mock selector (#2270)
Closes#2244
BREAKING CHANGE:
BEFORE:
Using `mockSelector.setResult(undefined)` resulted in clearing the
return value.
AFTER:
Using `mockSelector.setResult(undefined)` will set the return value of
the selector to `undefined`.
To reset the mock selector, use `mockSelector.clearResult()`.
0 commit comments