UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

10 lines (9 loc) 331 B
import { Exception } from '../utils/Types'; export declare const toMatchException: (received: Exception, expected: unknown, reason?: string) => jest.CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toMatchException(exception: unknown, reason?: string): R; } } }