- Preparing search index...
- The search index is not available
biorate
Type alias Expect<ExtendedMatchers>
Expect<ExtendedMatchers>: { configure: ((configuration) => Expect<ExtendedMatchers>); not: Omit<AsymmetricMatchers, "any" | "anything">; poll: (<T>(actual,
messageOrOptions?) => BaseMatchers<Promise<void>, T> & { not: BaseMatchers<Promise<void>, T>; }); soft: (<T>(actual,
messageOrOptions?) => MakeMatchers<void, T, ExtendedMatchers>); extend<MoreMatchers>(matchers) => Expect<ExtendedMatchers & MoreMatchers>; getState() => ExpectMatcherState; <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;
}
Optional
Returns MakeMatchers<void, T, ExtendedMatchers>
-
configure: ((configuration) => Expect<ExtendedMatchers>)
-
- (configuration): Expect<ExtendedMatchers>
-
Parameters
-
configuration: {
message?: string;
soft?: boolean;
timeout?: number;
}
-
Optional
message?: string
-
Optional
soft?: boolean
-
Optional
timeout?: number
Returns Expect<ExtendedMatchers>
-
not: Omit<AsymmetricMatchers, "any" | "anything">
-
poll: (<T>(actual, messageOrOptions?) => BaseMatchers<Promise<void>, T> & {
not: BaseMatchers<Promise<void>, T>;
})
-
- <T>(actual, messageOrOptions?): BaseMatchers<Promise<void>, T> & {
not: BaseMatchers<Promise<void>, T>;
}
-
Parameters
-
actual: (() => T | Promise<T>)
-
- (): T | Promise<T>
-
Returns T | Promise<T>
-
Optional
messageOrOptions: string | {
intervals?: number[];
message?: string;
timeout?: number;
}
Optional
Returns BaseMatchers<Promise<void>, T> & {
not: BaseMatchers<Promise<void>, T>;
}
-
soft: (<T>(actual, messageOrOptions?) => MakeMatchers<void, T, ExtendedMatchers>)
-
- <T>(actual, messageOrOptions?): MakeMatchers<void, T, ExtendedMatchers>
-
Parameters
-
actual: T
-
Optional
messageOrOptions: string | {
message?: string;
}
Optional
Returns MakeMatchers<void, T, ExtendedMatchers>
-
extend:function
- extend<MoreMatchers>(matchers): Expect<ExtendedMatchers & MoreMatchers>
-
Returns Expect<ExtendedMatchers & MoreMatchers>
-
getState:function
- getState(): ExpectMatcherState
-