Skip to content

Commit 7fff8b7

Browse files
Fix test description (#1559)
Reported by @zonr here: 461392d#r31021840
1 parent 2d1b06b commit 7fff8b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/__tests__/definition-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ describe('Type System: Union types must be array', () => {
940940
).not.to.throw();
941941
});
942942

943-
it('rejects a Union type without types', () => {
943+
it('accepts a Union type without types', () => {
944944
expect(() =>
945945
schemaWithFieldType(
946946
new GraphQLUnionType({

0 commit comments

Comments
 (0)