Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await waitFor(() => expect(queryCache.isFetching).toBe(0))
Hooks for managing, caching and syncing asynchronous and remote data in React