We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec1e910 + 9c4a543 commit b14337aCopy full SHA for b14337a
3 files changed
__tests__/utils/parse-utils.test.ts
@@ -32,6 +32,6 @@ describe('parseNetDuration', () => {
32
})
33
34
it('throws when string has invalid format', () => {
35
- expect(() => parseNetDuration('12:34:56 not a duration')).toThrowError(/^Invalid format/)
+ expect(() => parseNetDuration('12:34:56 not a duration')).toThrow(/^Invalid format/)
36
37
0 commit comments