mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
Let the score section test settle its reveal
The section now waits for its reads before it shows; the mocked query client reports nothing in flight.
This commit is contained in:
1 parent
aa3049a14c
commit
142dfa9360
1 file changed
+3
@@ -79,7 +79,10 @@ vi.mock("@tanstack/react-query", () => ({
|
||||
setQueryData: vi.fn(),
|
||||
getQueryData: vi.fn(),
|
||||
invalidateQueries: vi.fn(),
|
||||
isFetching: () => 0,
|
||||
}),
|
||||
// The section reveals once its reads settle; nothing is in flight here.
|
||||
useIsFetching: () => 0,
|
||||
}));
|
||||
|
||||
vi.mock("sonner", () => ({
|
||||
|
||||
Reference in new issue
Block a user