Skip to content

Commit

Permalink
fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Sep 2, 2024
1 parent 2ecd43f commit b6b2d45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ describe('useInfiniteQuery', () => {
refetch: expect.any(Function),
status: 'pending',
fetchStatus: 'fetching',
promise: expect.any(Promise),
})

expect(states[1]).toEqual({
Expand Down Expand Up @@ -155,6 +156,7 @@ describe('useInfiniteQuery', () => {
refetch: expect.any(Function),
status: 'success',
fetchStatus: 'idle',
promise: expect.any(Promise),
})
})

Expand Down
3 changes: 3 additions & 0 deletions packages/solid-query/src/__tests__/createQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ describe('createQuery', () => {
refetch: expect.any(Function),
status: 'pending',
fetchStatus: 'fetching',
promise: expect.any(Promise),
})

expect(states[1]).toEqual({
Expand Down Expand Up @@ -422,6 +423,7 @@ describe('createQuery', () => {
refetch: expect.any(Function),
status: 'pending',
fetchStatus: 'fetching',
promise: expect.any(Promise),
})

expect(states[2]).toEqual({
Expand Down Expand Up @@ -449,6 +451,7 @@ describe('createQuery', () => {
refetch: expect.any(Function),
status: 'error',
fetchStatus: 'idle',
promise: expect.any(Promise),
})
})

Expand Down

0 comments on commit b6b2d45

Please sign in to comment.