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
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/)
})
})