Skip to content

Commit a4ec545

Browse files
committed
More fixes
1 parent 832d491 commit a4ec545

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/type/__tests__/predicate-test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,12 @@ describe('Type predicates', () => {
520520
expect(() =>
521521
assertWrappingType(new GraphQLNonNull(ObjectType)),
522522
).to.not.throw();
523+
expect(isWrappingType(new GraphQLSemanticNonNull(ObjectType))).to.equal(
524+
true,
525+
);
526+
expect(() =>
527+
assertWrappingType(new GraphQLSemanticNonNull(ObjectType)),
528+
).to.not.throw();
523529
});
524530

525531
it('returns false for unwrapped types', () => {

0 commit comments

Comments
 (0)