| ... | ... | @@ -1,4 +1,5 @@ |
| 1 | 1 | import type { NativeApi } from "@t3tools/contracts"; |
| 2 | import { QueryClient } from "@tanstack/react-query"; |
| 2 | 3 | import { describe, expect, it, vi } from "vitest"; |
| 3 | 4 | import { checkpointDiffQueryOptions, providerQueryKeys } from "./providerReactQuery"; |
| 4 | 5 | |
| ... | ... | @@ -42,7 +43,8 @@ describe("checkpointDiffQueryOptions", () => { |
| 42 | 43 | cacheScope: "turn:abc", |
| 43 | 44 | }); |
| 44 | 45 | |
| 45 | | await options.queryFn(); |
| 46 | const queryClient = new QueryClient(); |
| 47 | await queryClient.fetchQuery(options); |
| 46 | 48 | |
| 47 | 49 | expect(getCheckpointDiff).toHaveBeenCalledWith({ |
| 48 | 50 | sessionId: "session-id", |