Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marocchino/jest-transform-graphql-tools
https://github.com/marocchino/jest-transform-graphql-tools
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marocchino/jest-transform-graphql-tools
- Owner: marocchino
- License: mit
- Created: 2021-06-17T00:14:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-17T00:46:13.000Z (over 3 years ago)
- Last Synced: 2024-10-10T20:53:46.783Z (28 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```js
module.exports = {
// ...
transform: {
"\\.(gql|graphql)$": "jest-transform-graphql-tools",
},
}
```## Any problem?
Feel free to report issues. 😃