()
| 21 | |
| 22 | it('tData should be defined when passed through queryOptions', () => { |
| 23 | const options = () => |
| 24 | queryOptions({ |
| 25 | queryKey: ['key'], |
| 26 | queryFn: () => { |
| 27 | return { |
| 28 | wow: true, |
| 29 | } |
| 30 | }, |
| 31 | initialData: { |
| 32 | wow: true, |
| 33 | }, |
| 34 | }) |
| 35 | const { data } = injectQuery(options) |
| 36 | |
| 37 | expectTypeOf(data).toEqualTypeOf<Signal<{ wow: boolean }>>() |
no test coverage detected