fix(web): add likes/QueryClient mocks to route tests rendering LikeButton

Pages that render TrackRow/AlbumCard/ArtistRow/PlayerBar now indirectly
mount LikeButton, which calls useQueryClient(). Route tests need the
same mocks the component-level tests have.

- Added createLikedIdsQuery mock to 7 route test files
- Added useQueryClient mock to all affected route tests
- Added readable store import where needed
This commit is contained in:
2026-04-26 17:18:39 -04:00
parent 457b94005f
commit 1f08ee39bd
9 changed files with 1066 additions and 0 deletions
Executable
BIN
View File
Binary file not shown.