Type alias Expect<ExtendedMatchers>
Expect<ExtendedMatchers>: { configure: ((configuration) => Expect<ExtendedMatchers>); not: Omit<AsymmetricMatchers, "any" | "anything">; poll: (<T>(actual,
messageOrOptions?) => PollMatchers<Promise<void>, T, ExtendedMatchers>); soft: (<T>(actual,
messageOrOptions?) => MakeMatchers<void, T, ExtendedMatchers>); extend<MoreMatchers>(matchers): Expect<ExtendedMatchers & MoreMatchers>; getState(): unknown; <T>(actual,
messageOrOptions?): MakeMatchers<void, T, ExtendedMatchers>; } & AsymmetricMatchers Type declaration
- <T>(actual, messageOrOptions?): MakeMatchers<void, T, ExtendedMatchers>
Parameters
- actual: T
Optional messageOrOptions: string | {
message?: string;
}
- (configuration): Expect<ExtendedMatchers>
Parameters
- configuration: {
message?: string;
soft?: boolean;
timeout?: number;
}Optional message?: string
Optional soft?: boolean
Optional timeout?: number
not: Omit<AsymmetricMatchers, "any" | "anything">
poll: (<T>(actual, messageOrOptions?) => PollMatchers<Promise<void>, T, ExtendedMatchers>)
- <T>(actual, messageOrOptions?): PollMatchers<Promise<void>, T, ExtendedMatchers>
Parameters
- actual: (() => T | Promise<T>)
- (): T | Promise<T>
Returns T | Promise<T>
Optional messageOrOptions: string | {
intervals?: number[];
message?: string;
timeout?: number;
}
Returns PollMatchers<Promise<void>, T, ExtendedMatchers>
soft: (<T>(actual, messageOrOptions?) => MakeMatchers<void, T, ExtendedMatchers>)
- <T>(actual, messageOrOptions?): MakeMatchers<void, T, ExtendedMatchers>
Parameters
- actual: T
Optional messageOrOptions: string | {
message?: string;
}
extend:function
getState:function
- getState(): unknown
Returns unknown