(this: UserEventInstance, instance: TestInstance)
| 24 | } |
| 25 | |
| 26 | export async function press(this: UserEventInstance, instance: TestInstance): Promise<void> { |
| 27 | if (!isTestInstance(instance)) { |
| 28 | throw new ErrorWithStack(`press() works only with host instances.`, press); |
| 29 | } |
| 30 | |
| 31 | await basePress(this.config, instance, { |
| 32 | type: 'press', |
| 33 | }); |
| 34 | } |
| 35 | |
| 36 | export async function longPress( |
| 37 | this: UserEventInstance, |
nothing calls this directly
no test coverage detected
searching dependent graphs…