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

Refactor useQuery tests to use toEqualQueryResult - Part 1 #12273

Merged
merged 23 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e248be1
Convert useQuery tests to renderHookToSnapshotStream and toEqualQuery…
jerelmiller Jan 13, 2025
9b5bf30
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult w…
jerelmiller Jan 13, 2025
a07f715
Use renderHookToSnapshotStream to check functions between renders. Ad…
jerelmiller Jan 13, 2025
2a81ed7
Rewrite test with renderHookToSnapshotStream
jerelmiller Jan 13, 2025
880b06d
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 13, 2025
5f65219
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
89554f3
Add comment on test
jerelmiller Jan 14, 2025
33385e6
Add comment on test with context for test
jerelmiller Jan 14, 2025
fd00ce0
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
2b22440
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
991d913
Add some comments to test on refactor strategy
jerelmiller Jan 14, 2025
6e770f1
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
3b45e74
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
436dc5c
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
fe1213e
Add todo comment for ssr tests
jerelmiller Jan 14, 2025
15c4575
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
90b16a6
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
43e8b8f
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
89c8817
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
9bb453c
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
bb91dda
Rewrite test with renderHookToSnapshotStream and toEqualQueryResult
jerelmiller Jan 14, 2025
176fd73
Add toEqualApolloQueryResult matcher
jerelmiller Jan 14, 2025
955d0af
Use toEqualApolloQueryResult for some assertions
jerelmiller Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading