Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add test cases for mutate #1976

Merged
merged 1 commit into from May 16, 2022
Merged

chore: Add test cases for mutate #1976

merged 1 commit into from May 16, 2022

Conversation

shuding
Copy link
Member

@shuding shuding commented May 16, 2022

This PR adds test cases for two scenarios mentioned in #1964. For the typing problem, I currently marked it as FIXME and it's yet to be fixed:

// FIXME: this should work.
// mutate(async () => 1, { populateCache: false })

@shuding shuding requested a review from huozhi as a code owner May 16, 2022 15:54
@shuding shuding changed the title chore: Add test cases chore: Add test cases for mutate May 16, 2022
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 77612b4:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

@huozhi huozhi merged commit 526b650 into main May 16, 2022
@huozhi huozhi deleted the shu/5beb branch May 16, 2022 16:00
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.

None yet

2 participants