Skip to content

Commit 95165ac

Browse files
committed
Fix typos in the test
1 parent 0dbc742 commit 95165ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ describe('combinedQuery', () => {
272272
combinedQuery('test')
273273
.add(fooQuery, { foo: 'foo' })
274274
.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')
276276
})
277277

278278
it('validation - top level fields must be unique', () => {
@@ -292,7 +292,7 @@ describe('combinedQuery', () => {
292292
combinedQuery('test')
293293
.add(fooQuery, { foo: 'foo' })
294294
.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')
296296
})
297297

298298
it('validation - variable names must be unique', () => {
@@ -312,7 +312,7 @@ describe('combinedQuery', () => {
312312
combinedQuery('test')
313313
.add(fooQuery, { foo: 'foo' })
314314
.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')
316316
})
317317

318318
it('renaming works correctly if addN is used as the first operation', () => {

0 commit comments

Comments
 (0)