Skip to content

Commit f65423b

Browse files
committed
Fix introspection test
1 parent f9327c3 commit f65423b

File tree

1 file changed

+36
-31
lines changed

1 file changed

+36
-31
lines changed

src/type/__tests__/introspection-test.ts

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,11 @@ describe('Introspection', () => {
437437
isDeprecated: false,
438438
deprecationReason: null,
439439
},
440+
{
441+
name: 'SEMANTIC_NON_NULL',
442+
isDeprecated: false,
443+
deprecationReason: null,
444+
},
440445
],
441446
possibleTypes: null,
442447
},
@@ -654,6 +659,37 @@ describe('Introspection', () => {
654659
enumValues: null,
655660
possibleTypes: null,
656661
},
662+
{
663+
kind: 'ENUM',
664+
name: '__TypeNullability',
665+
specifiedByURL: null,
666+
fields: null,
667+
inputFields: null,
668+
interfaces: null,
669+
enumValues: [
670+
{
671+
name: 'AUTO',
672+
isDeprecated: false,
673+
deprecationReason: null,
674+
},
675+
{
676+
name: 'TRADITIONAL',
677+
isDeprecated: false,
678+
deprecationReason: null,
679+
},
680+
{
681+
name: 'SEMANTIC',
682+
isDeprecated: false,
683+
deprecationReason: null,
684+
},
685+
{
686+
name: 'FULL',
687+
isDeprecated: false,
688+
deprecationReason: null,
689+
},
690+
],
691+
possibleTypes: null,
692+
},
657693
{
658694
kind: 'OBJECT',
659695
name: '__EnumValue',
@@ -931,37 +967,6 @@ describe('Introspection', () => {
931967
],
932968
possibleTypes: null,
933969
},
934-
{
935-
kind: 'ENUM',
936-
name: '__TypeNullability',
937-
specifiedByURL: null,
938-
fields: null,
939-
inputFields: null,
940-
interfaces: null,
941-
enumValues: [
942-
{
943-
name: 'AUTO',
944-
isDeprecated: false,
945-
deprecationReason: null,
946-
},
947-
{
948-
name: 'TRADITIONAL',
949-
isDeprecated: false,
950-
deprecationReason: null,
951-
},
952-
{
953-
name: 'SEMANTIC',
954-
isDeprecated: false,
955-
deprecationReason: null,
956-
},
957-
{
958-
name: 'FULL',
959-
isDeprecated: false,
960-
deprecationReason: null,
961-
},
962-
],
963-
possibleTypes: null,
964-
},
965970
],
966971
directives: [
967972
{

0 commit comments

Comments
 (0)