chore: clean git cache

This commit is contained in:
GitHub Actions
2026-02-09 21:42:54 +00:00
parent 177e309b38
commit 74a51ee151
1800 changed files with 0 additions and 619528 deletions
@@ -1,18 +0,0 @@
import { QueryClient, QueryKey } from '@tanstack/react-query'
interface InitialDataEntry {
key: QueryKey
data: unknown
}
export function createTestQueryClient(initialData: InitialDataEntry[] = []) {
const client = new QueryClient({
defaultOptions: {
queries: { retry: false, gcTime: Infinity },
mutations: { retry: false },
},
})
initialData.forEach(({ key, data }) => client.setQueryData(key, data))
return client
}