UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

12 lines (11 loc) 481 B
import { Uri } from '../utils/Types'; export declare const weExpectedButReceivedInstead: ([r, e]: [any, any]) => string; export declare function toMatchAsString(this: jest.MatcherContext, received: unknown, expected: unknown): jest.CustomMatcherResult; export declare const toBeRoutedTo: (query: jest.Mock, expected: Uri) => jest.CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toBeRoutedTo(uri: Uri): R; } } }