-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add failing test for fetchMore with full cache #12933
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
base: main
Are you sure you want to change the base?
Conversation
|
commit: |
size-limit report 📦
|
partial: false, | ||
}); | ||
|
||
await expect(stream).toEmitTypedValue({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where the test fails as this value is never emitted. It seems the bug only occurs when the cache limit is full and the result from the network returns an empty array. If this fetchMore
were to return items, this emit would happen as usual.
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 524e774fd7a0e036fe8c02dd |
Adds a failing test for #12932