Variable jestMatchersConst
jestMatchers: { toBeAt: ((received,
position) => Promise<{ message: (() => string); pass: boolean; }>); toBeIn: ((received,
region) => Promise<{ message: (() => string); pass: boolean; }>); toHaveColor: ((received,
needle) => Promise<{ message: (() => string); pass: boolean; }>); toHaveElement: ((received,
needle) => Promise<{ message: (() => string); pass: boolean; }>); toHaveType: ((received,
needle) => Promise<{ message: (() => string); pass: boolean; }>); toShow: (<PROVIDER_DATA>(received,
needle,
parameters?) => Promise<{ message: (() => string); pass: boolean; }>); toWaitFor: (<PROVIDER_DATA>(received,
needle,
timeoutMs?,
updateInterval?,
parameters?) => Promise<{ message: (() => string); pass: boolean; }>); } = ... Type declaration
toBeAt: ((received, position) => Promise<{
message: (() => string);
pass: boolean;
}>)
- (received, position): Promise<{
message: (() => string);
pass: boolean;
}> Returns Promise<{
message: (() => string);
pass: boolean;
}>
toBeIn: ((received, region) => Promise<{
message: (() => string);
pass: boolean;
}>)
- (received, region): Promise<{
message: (() => string);
pass: boolean;
}> Returns Promise<{
message: (() => string);
pass: boolean;
}>
toHaveColor: ((received, needle) => Promise<{
message: (() => string);
pass: boolean;
}>)
- (received, needle): Promise<{
message: (() => string);
pass: boolean;
}> Returns Promise<{
message: (() => string);
pass: boolean;
}>
toHaveElement: ((received, needle) => Promise<{
message: (() => string);
pass: boolean;
}>)
- (received, needle): Promise<{
message: (() => string);
pass: boolean;
}> Parameters
needle: {
by: {
description: WindowElementDescription;
};
id: string;
type: "window-element";
}
id: string
type: "window-element"
Returns Promise<{
message: (() => string);
pass: boolean;
}>
toHaveType: ((received, needle) => Promise<{
message: (() => string);
pass: boolean;
}>)
- (received, needle): Promise<{
message: (() => string);
pass: boolean;
}> Parameters
needle: {
by: {
description: WindowElementDescription;
};
id: string;
type: "window-element";
}
id: string
type: "window-element"
Returns Promise<{
message: (() => string);
pass: boolean;
}>
toShow: (<PROVIDER_DATA>(received, needle, parameters?) => Promise<{
message: (() => string);
pass: boolean;
}>)
- <PROVIDER_DATA>(received, needle, parameters?): Promise<{
message: (() => string);
pass: boolean;
}> Returns Promise<{
message: (() => string);
pass: boolean;
}>
toWaitFor: (<PROVIDER_DATA>(received, needle, timeoutMs?, updateInterval?, parameters?) => Promise<{
message: (() => string);
pass: boolean;
}>)
- <PROVIDER_DATA>(received, needle, timeoutMs?, updateInterval?, parameters?): Promise<{
message: (() => string);
pass: boolean;
}> Parameters
timeoutMs: number = 5000
updateInterval: number = 500
Returns Promise<{
message: (() => string);
pass: boolean;
}>