| | |
| | | toString(): string; |
| | | getExpectedType(): string; |
| | | } |
| | | declare class CloseTo extends AsymmetricMatcher<number> { |
| | | private precision; |
| | | constructor(sample: number, precision?: number, inverse?: boolean); |
| | | asymmetricMatch(other: number): boolean; |
| | | toString(): string; |
| | | getExpectedType(): string; |
| | | } |
| | | export declare const any: (expectedObject: unknown) => Any; |
| | | export declare const anything: () => Anything; |
| | | export declare const arrayContaining: (sample: Array<unknown>) => ArrayContaining; |
| | |
| | | export declare const stringNotContaining: (expected: string) => StringContaining; |
| | | export declare const stringMatching: (expected: string | RegExp) => StringMatching; |
| | | export declare const stringNotMatching: (expected: string | RegExp) => StringMatching; |
| | | export declare const closeTo: (expected: number, precision?: number | undefined) => CloseTo; |
| | | export declare const notCloseTo: (expected: number, precision?: number | undefined) => CloseTo; |
| | | export {}; |