UNPKG

assertthat

Version:
5 lines (4 loc) 325 B
import { AssertionFailed } from '../../errors'; import { Result } from 'defekt'; declare const assertActualIsThrowing: <TError extends Error = Error>(actual: (...args: any[]) => any, expected?: string | RegExp | ((ex: TError) => boolean) | undefined) => Result<undefined, AssertionFailed>; export { assertActualIsThrowing };