Skip to content

fix warning in replaceReducer test#3527

Merged
timdorr merged 1 commit into
reduxjs:ts-conversionfrom
cellog:cellog-3482-replaceReducer-test
Aug 29, 2019
Merged

fix warning in replaceReducer test#3527
timdorr merged 1 commit into
reduxjs:ts-conversionfrom
cellog:cellog-3482-replaceReducer-test

Conversation

@cellog

@cellog cellog commented Aug 29, 2019

Copy link
Copy Markdown
Contributor

The replaceReducer new reducer in the test was only returning 5, which is almost certainly an error in the real world. This PR changes the test so that it returns a more realistic object, removing the warning

@timdorr timdorr merged commit 4f7ff64 into reduxjs:ts-conversion Aug 29, 2019
@cellog cellog deleted the cellog-3482-replaceReducer-test branch August 29, 2019 14:56
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
Former-commit-id: 3bfb592
Former-commit-id: e3f9dc3
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
Former-commit-id: 3bfb592
Former-commit-id: e3f9dc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants