Node Packaged Masterfully

    jest-transform-graphql-tools

    1.0.0 • Public • Published

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

    Install

    npm i jest-transform-graphql-tools

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.38 kB

    Total Files

    4

    Last publish

    Collaborators

    • marocchino