@@ -96,11 +96,11 @@ const TestNestedInputObject = new GraphQLInputObjectType({
96
96
97
97
const TestOneOfInputObject = new GraphQLInputObjectType ( {
98
98
name : 'TestOneOfInputObject' ,
99
+ isOneOf : true ,
99
100
fields : {
100
101
a : { type : GraphQLString } ,
101
102
b : { type : GraphQLInt } ,
102
103
} ,
103
- isOneOf : true ,
104
104
} ) ;
105
105
106
106
const TestEnum = new GraphQLEnumType ( {
@@ -1268,7 +1268,7 @@ describe('Execute: Handles inputs', () => {
1268
1268
} ) ;
1269
1269
} ) ;
1270
1270
1271
- it ( 'errors with variable with no value ' , ( ) => {
1271
+ it ( 'errors with variable object with no fields ' , ( ) => {
1272
1272
const result = executeQuery (
1273
1273
`
1274
1274
query ($input: TestOneOfInputObject) {
@@ -1289,7 +1289,7 @@ describe('Execute: Handles inputs', () => {
1289
1289
} ) ;
1290
1290
} ) ;
1291
1291
1292
- it ( 'errors with variable with multiple values ' , ( ) => {
1292
+ it ( 'errors with variable object with multiple fields ' , ( ) => {
1293
1293
const result = executeQuery (
1294
1294
`
1295
1295
query ($input: TestOneOfInputObject) {
@@ -1310,7 +1310,7 @@ describe('Execute: Handles inputs', () => {
1310
1310
} ) ;
1311
1311
} ) ;
1312
1312
1313
- it ( 'errors with variable with single null value ' , ( ) => {
1313
+ it ( 'errors with variable object with single null field ' , ( ) => {
1314
1314
const result = executeQuery (
1315
1315
`
1316
1316
query ($input: TestOneOfInputObject) {
@@ -1331,7 +1331,7 @@ describe('Execute: Handles inputs', () => {
1331
1331
} ) ;
1332
1332
} ) ;
1333
1333
1334
- it ( 'errors with variable with multiple values , only one non-null' , ( ) => {
1334
+ it ( 'errors with variable object with multiple fields , only one non-null' , ( ) => {
1335
1335
const result = executeQuery (
1336
1336
`
1337
1337
query ($input: TestOneOfInputObject) {
0 commit comments