1.2.0 • Published 3 years ago

jest-serializer-gql v1.2.0

Weekly downloads
118
License
MIT
Repository
github
Last release
3 years ago

jest-serializer-gql

code style: prettier MIT licensed codecov

Convert GraphQL schemas to a readable format for Jest snapshot testing.

Install

npm install --save-dev jest-serializer-gql

Usage

In order to use the Jest serializer, add this line to your Jest configuration.

"snapshotSerializers": [
  "jest-serializer-gql"
]