Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marocchino/jest-transform-graphql-tools


https://github.com/marocchino/jest-transform-graphql-tools

Last synced: 24 days ago
JSON representation

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. 😃