(opts: UserOpts = {})
| 133 | advanceTimer: UserOpts['advanceTimer']; |
| 134 | |
| 135 | constructor(opts: UserOpts = {}) { |
| 136 | let {interactionType, advanceTimer} = opts; |
| 137 | this.user = userEvent.setup({delay: null, pointerMap}); |
| 138 | this.interactionType = interactionType; |
| 139 | this.advanceTimer = advanceTimer || defaultAdvanceTimer; |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Creates an aria pattern tester, inheriting the options provided to the original user. |