-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource Middleware Mock #834
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement Resource middleware mock
As we start using the resource middleware more it could be useful to have a resource mock to use when testing. I'd imagine this could be similar to the
createICacheMock
that already exists. We could use such a mock when testing out some harder to mock out scenarios such as asynchronous resource calls or when testing for specific values such as when a value is returned bymeta()
butisLoading
istrue
.The resource mock could then be used like this:
The text was updated successfully, but these errors were encountered: