* Creates an aria pattern tester, inheriting the options provided to the original user.
(patternName: T, opts: TesterOpts<T>)
| 143 | * Creates an aria pattern tester, inheriting the options provided to the original user. |
| 144 | */ |
| 145 | createTester<T extends PatternNames>(patternName: T, opts: TesterOpts<T>): Tester<T> { |
| 146 | return new keyToUtil[patternName]({ |
| 147 | interactionType: this.interactionType, |
| 148 | advanceTimer: this.advanceTimer, |
| 149 | ...opts, |
| 150 | user: this.user |
| 151 | }) as Tester<T>; |
| 152 | } |
| 153 | } |
no outgoing calls