Testing react query with Suspense and react testing library
But it gets stuck in loading. Both IdentityProvider and AuthorizationProvider are simple contexts that use
useSuspenseQuery. Both queries are mocked with MSW.It works if I do this.
or this
So it's only when I have multiple nested providers it fails.
Any ideas would be much appreciated!