UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

14 lines (13 loc) 523 B
import { Results } from '../utils/Types'; export declare const toResultWith: (results: Results, message: string) => jest.CustomMatcherResult; export declare const toFail: (results: Results) => jest.CustomMatcherResult; export declare const toFailWith: (results: Results, message: string) => jest.CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toResultWith(message: string): R; toFail(): R; toFailWith(message: string): R; } } }