Skip to content

Commit 9a3e888

Browse files
committed
Directive name is not-null (fixed test)
1 parent 2a41cd4 commit 9a3e888

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/type/__tests__/introspection.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,14 @@ describe('Introspection', () => {
790790
args: [],
791791
type: {
792792
__typename: '__Type',
793-
kind: 'SCALAR',
794-
name: 'String',
795-
ofType: null,
793+
kind: 'NON_NULL',
794+
name: null,
795+
ofType: {
796+
__typename: '__Type',
797+
kind: 'SCALAR',
798+
name: 'String',
799+
ofType: null
800+
}
796801
},
797802
isDeprecated: false,
798803
deprecationReason: null

0 commit comments

Comments
 (0)