We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958eb96 commit 5384d21Copy full SHA for 5384d21
src/type/__tests__/predicate-test.js
@@ -217,7 +217,7 @@ describe('Type predicates', () => {
217
expect(() => assertListType(ObjectType)).to.throw();
218
});
219
220
- it('returns true for a non-list wrapped type', () => {
+ it('returns false for a non-list wrapped type', () => {
221
expect(isListType(GraphQLNonNull(GraphQLList(ObjectType)))).to.equal(
222
false,
223
);
@@ -240,7 +240,7 @@ describe('Type predicates', () => {
240
expect(() => assertNonNullType(ObjectType)).to.throw();
241
242
243
- it('returns true for a not non-null wrapped type', () => {
+ it('returns false for a not non-null wrapped type', () => {
244
expect(isNonNullType(GraphQLList(GraphQLNonNull(ObjectType)))).to.equal(
245
246
0 commit comments