Skip to content

Commit

Permalink
test: noop store
Browse files Browse the repository at this point in the history
  • Loading branch information
SaulMoro committed Mar 22, 2024
1 parent 1fce0a7 commit 3e83185
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const createNoopStoreApi = (

return (): AngularHooksModuleOptions => {
const dispatch = (action: UnknownAction) => {
if (api.resetApiState.match(action)) return;
store.dispatch(action, { reducerPath, reducer });
return action;
};
Expand Down

0 comments on commit 3e83185

Please sign in to comment.