@@ -272,7 +272,7 @@ describe('combinedQuery', () => {
272
272
combinedQuery ( 'test' )
273
273
. add ( fooQuery , { foo : 'foo' } )
274
274
. add ( fooMutation , { fooo : 'fooo' } )
275
- } ) . to . throw ( 'expected all operations to be of the smae type, but FooMutation is mutation and FooQuery is query' )
275
+ } ) . to . throw ( 'expected all operations to be of the same type, but FooMutation is mutation and FooQuery is query' )
276
276
} )
277
277
278
278
it ( 'validation - top level fields must be unique' , ( ) => {
@@ -292,7 +292,7 @@ describe('combinedQuery', () => {
292
292
combinedQuery ( 'test' )
293
293
. add ( fooQuery , { foo : 'foo' } )
294
294
. add ( fooQuery2 )
295
- } ) . to . throw ( 'duplicate field definition foo for oprations FooQuery and FooQuery2' )
295
+ } ) . to . throw ( 'duplicate field definition foo for operations FooQuery and FooQuery2' )
296
296
} )
297
297
298
298
it ( 'validation - variable names must be unique' , ( ) => {
@@ -312,7 +312,7 @@ describe('combinedQuery', () => {
312
312
combinedQuery ( 'test' )
313
313
. add ( fooQuery , { foo : 'foo' } )
314
314
. add ( fooQuery2 , { foo : 'foo2' } )
315
- } ) . to . throw ( 'duplicate variable definition foo for oprations FooQuery and FooQuery2' )
315
+ } ) . to . throw ( 'duplicate variable definition foo for operations FooQuery and FooQuery2' )
316
316
} )
317
317
318
318
it ( 'renaming works correctly if addN is used as the first operation' , ( ) => {
0 commit comments