Open hongbo-miao opened 3 years ago
I found https://github.com/apollographql/graphql-tag#testing
Testing environments that don't support Webpack require additional configuration. For Jest use jest-transform-graphql.
Hmm, what about Cypress which built on Mocha...
Same problem, except on production :( Can't get this plugin to work at all, and have no way to load my gql files in my CRA.
Any update for this?
I am using graphql.macro to import
.graphql
file in a create-react-app app. It works well.However, when I try to run a Cypress test, I got error
I know Cypress is using Mocha internally. Any help will be great. Thanks