()
| 115 | |
| 116 | it('should accept plain options using infiniteQueryOptions', () => { |
| 117 | const options = () => |
| 118 | infiniteQueryOptions({ |
| 119 | queryKey: ['infiniteQuery'], |
| 120 | queryFn: () => sleep(0).then(() => 'Some data'), |
| 121 | getNextPageParam: () => undefined, |
| 122 | initialPageParam: 0, |
| 123 | }) |
| 124 | const query = reactive(useInfiniteQuery(options)) |
| 125 | |
| 126 | if (query.isSuccess) { |
no test coverage detected
searching dependent graphs…