1.2.0 • Published 3 years ago
jest-serializer-gql v1.2.0
jest-serializer-gql
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"
]