Skip to content

Commit b14337a

Browse files
authored
Merge pull request dorny#632 from dorny/feature/631_jest_v30
2 parents ec1e910 + 9c4a543 commit b14337a

3 files changed

Lines changed: 6652 additions & 3832 deletions

File tree

__tests__/utils/parse-utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ describe('parseNetDuration', () => {
3232
})
3333

3434
it('throws when string has invalid format', () => {
35-
expect(() => parseNetDuration('12:34:56 not a duration')).toThrowError(/^Invalid format/)
35+
expect(() => parseNetDuration('12:34:56 not a duration')).toThrow(/^Invalid format/)
3636
})
3737
})

0 commit comments

Comments
 (0)