UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

25 lines (24 loc) 789 B
import { AsymmetricMatcher } from 'expect'; import { Uri } from '../utils/Types'; export declare class ObjectContainingText extends AsymmetricMatcher<string> { asymmetricMatch(other: any): boolean; toString(): string; } export declare class ObjectContainingTextExact extends AsymmetricMatcher<string> { asymmetricMatch(other: any): boolean; toString(): string; } export declare class ObjectContainingJson extends AsymmetricMatcher<any> { asymmetricMatch(other: any): boolean; toString(): string; } export declare const fits: { any: () => any; type: (type?: unknown) => any; with: (o: unknown) => any; text: (s: any) => any; textExact: (s: any) => any; uri: (u: Uri) => any; json: (s: any) => any; items: (...items: any[]) => any; };