Skip to content

Commit f5fbf3e

Browse files
committed
Good test typing for Mocha
1 parent ccccd63 commit f5fbf3e

3 files changed

Lines changed: 155 additions & 262 deletions

File tree

test-types/jasmine/jasmine.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ describe('Jasmine type agumentations', () => {
345345
expectTypeOf(wdioExpect(element).toBeClickable()).toEqualTypeOf<Promise<void>>()
346346
})
347347

348-
it('should support standard Jest Matchers', async () => {
348+
it('should support standard Jest expect Library Matchers', async () => {
349349
expectTypeOf(wdioExpect({ a: 1 }).toHaveProperty('a')).toEqualTypeOf<void>()
350350
expectTypeOf(wdioExpect([1, 2]).toHaveLength(2)).toEqualTypeOf<void>()
351351
expectTypeOf(wdioExpect({ a: 1 }).toMatchObject({ a: 1 })).toEqualTypeOf<void>()

0 commit comments

Comments
 (0)