-
Notifications
You must be signed in to change notification settings - Fork 25
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to mock Types? #13
Comments
I'm not sure |
@nealoke you figure this out? I'm hitting the same issue |
@baleeds no, I've disabled my test and will look into this again later 馃槩 |
Using React testing library and the latest <ApolloMockedProvider
customResolvers={{
Date: () => jest.fn(() => new Date()),
Query: () => ({ ... }),
Mutation: () => ({ ... }),
}}
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the title says, how can I mock a type such as
DateTime
? 馃槃The text was updated successfully, but these errors were encountered: