forked from ngrx/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(store): add clearResult to reset a mock selector (ngrx#2270)
Closes ngrx#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()`.
- Loading branch information
1 parent
3a683cd
commit 803295b
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters