(count: number)
| 942 | const key = queryKey() |
| 943 | |
| 944 | const options = (count: number) => ({ |
| 945 | queryKey: [...key, count], |
| 946 | queryFn: async () => { |
| 947 | await vi.advanceTimersByTimeAsync(10) |
| 948 | return 'test' + count |
| 949 | }, |
| 950 | }) |
| 951 | |
| 952 | function MyComponent(props: { promise: Promise<string> }) { |
| 953 | const data = React.use(props.promise) |
no outgoing calls
no test coverage detected
searching dependent graphs…