Skip to content

Commit fcaa1d2

Browse files
DogPawHatsukvvon
andauthored
test(vue-query/infiniteQueryOptions): replace query-core 'QueryClient' import with vue-query proxy (#10385)
tests: use proxy instead of query core infiniteQueryOptions.test-d.ts for Vue Query was incorrectly using the bare query client from core instead of the vue proxy query client. Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
1 parent 80f0370 commit fcaa1d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vue-query/src/__tests__/infiniteQueryOptions.test-d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { assertType, describe, expectTypeOf, it } from 'vitest'
2-
import { QueryClient, dataTagSymbol } from '@tanstack/query-core'
2+
import { dataTagSymbol } from '@tanstack/query-core'
33
import { reactive } from 'vue-demi'
44
import { infiniteQueryOptions } from '../infiniteQueryOptions'
5+
import { QueryClient } from '../queryClient'
56
import { useInfiniteQuery } from '../useInfiniteQuery'
67
import type { InfiniteData } from '@tanstack/query-core'
78

0 commit comments

Comments
 (0)