Skip to content

Commit 7ffa1ed

Browse files
authored
test({react,preact,solid}-query/useQueries): fix test description from 'useQuery' to 'useQueries' (#10499)
1 parent 7555113 commit 7ffa1ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/preact-query/src/__tests__/useQueries.test-d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('UseQueries config object overload', () => {
6262
expectTypeOf(data).toEqualTypeOf<{ wow: boolean }>()
6363
})
6464

65-
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQuery', () => {
65+
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQueries', () => {
6666
const query1 = queryOptions({
6767
queryKey: queryKey(),
6868
queryFn: () => Promise.resolve(1),

packages/react-query/src/__tests__/useQueries.test-d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('UseQueries config object overload', () => {
6161
expectTypeOf(data).toEqualTypeOf<{ wow: boolean }>()
6262
})
6363

64-
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQuery', () => {
64+
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQueries', () => {
6565
const query1 = queryOptions({
6666
queryKey: queryKey(),
6767
queryFn: () => Promise.resolve(1),

packages/solid-query/src/__tests__/useQueries.test-d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('useQueries', () => {
142142
expectTypeOf(queryResults[2].data).toEqualTypeOf<string | undefined>()
143143
})
144144

145-
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQuery', () => {
145+
it('should be possible to define a different TData than TQueryFnData using select with queryOptions spread into useQueries', () => {
146146
const query1 = queryOptions({
147147
queryKey: queryKey(),
148148
queryFn: () => Promise.resolve(1),

0 commit comments

Comments
 (0)