UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

12 lines (11 loc) 424 B
/// <reference types="jest" /> import CustomMatcherResult = jest.CustomMatcherResult; import { Exception } from '../utils/Types'; export declare const toMatchException: (received: Exception, expected: unknown, reason?: string | undefined) => CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toMatchException(exception: unknown, reason?: string): R; } } }