Created
April 20, 2019 12:41
-
-
Save shailen-naidoo/c4d8f903351ab335a2525a8f2ba717b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createTypeQuery } from './query'; | |
import Types from './types'; | |
const realTypeQuery = createTypeQuery({ _: Types.BooleanNull }); | |
const testTypeQuery = gql` | |
type Query { | |
_: ${Types.BooleanNull} | |
} | |
`; | |
test('check if [type Query] has correct fields', (): void => { | |
expect(realTypeQuery).toBe(testTypeQuery); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment