Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 54b1d46

Browse files
committed
TS Linting.
1 parent b048e7a commit 54b1d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/AggregatedError.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('AggregatedError', () => {
9191
const subError = new Error('subError1')
9292
const customMessage = 'customMessage'
9393
const err = AggregatedError.from(undefined, subError, customMessage)
94-
expect(err.message).toContain(customMessage)
94+
expect(err && err.message).toContain(customMessage)
9595
expect(subError).toBe(err)
9696
})
9797

0 commit comments

Comments
 (0)