(error: Error)
| 536 | describe('shouldThrowError', () => { |
| 537 | it('should return the result of executing throwOnError if throwOnError parameter is a function', () => { |
| 538 | const throwOnError = (error: Error) => error.message === 'test error' |
| 539 | expect(shouldThrowError(throwOnError, [new Error('test error')])).toBe( |
| 540 | true, |
| 541 | ) |
no outgoing calls
no test coverage detected
searching dependent graphs…