You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of preloadQuery, MockedProvider is no longer useful for testing since it relies on React context to provide mocks to existing hooks. Since preloadQuery is meant to be called outside React, we no longer have this luxury.
We should provide some guidance on testing with query preloading so that users are aware of tools like MockLink to handle this.
The text was updated successfully, but these errors were encountered:
With the introduction of
preloadQuery
,MockedProvider
is no longer useful for testing since it relies on React context to provide mocks to existing hooks. SincepreloadQuery
is meant to be called outside React, we no longer have this luxury.We should provide some guidance on testing with query preloading so that users are aware of tools like
MockLink
to handle this.The text was updated successfully, but these errors were encountered: