jest-transform-graphql-tools
Why?
I am using @graphql-tools/webpack-loader
, but there is no matched jest
transformer for that. So, I made it.
Usage
write transform rule in jest.config.js
like this:
module.exports = {
// ...
transform: {
"\\.(gql|graphql)$": "jest-transform-graphql-tools",
},
}
Any problem?
Feel free to report issues.