( value: boolean, )
| 5 | import type { MutationOptions, QueryClient } from '..' |
| 6 | |
| 7 | export function mockOnlineManagerIsOnline( |
| 8 | value: boolean, |
| 9 | ): MockInstance<() => boolean> { |
| 10 | return vi.spyOn(onlineManager, 'isOnline').mockReturnValue(value) |
| 11 | } |
| 12 | |
| 13 | export function executeMutation<TVariables>( |
| 14 | queryClient: QueryClient, |
no outgoing calls
no test coverage detected
searching dependent graphs…