-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: serialize queryKey
#9308
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?
fix: serialize queryKey
#9308
Conversation
View your CI Pipeline Execution ↗ for commit 4cb1669.
☁️ Nx Cloud last updated this comment at |
expect(serializeDataMock).toHaveBeenCalledTimes(1) | ||
expect(serializeDataMock).toHaveBeenCalledWith(0) | ||
|
||
expect(deserializeDataMock).toHaveBeenCalledTimes(1) | ||
expect(deserializeDataMock).toHaveBeenCalledWith(0) | ||
|
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.
Removed these as the test isn't about whether if serialization is about and the amount of times the mock gets called doubled so it gets a bit weird and unintuitive anyway
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9308 +/- ##
==========================================
- Coverage 45.37% 45.37% -0.01%
==========================================
Files 207 207
Lines 8277 8276 -1
Branches 1862 1868 +6
==========================================
- Hits 3756 3755 -1
Misses 4080 4080
Partials 441 441 🚀 New features to boost your workflow:
|
Serialize query keys
Should fix trpc/trpc#6802