Merge pull request #632 from dorny/feature/631_jest_v30

This commit is contained in:
Jozef Izso 2025-07-14 16:09:03 +02:00 committed by GitHub
commit b14337a039
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3857 additions and 1037 deletions

View file

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