(opts: TabsTesterOpts)
| 38 | private _direction: Direction; |
| 39 | |
| 40 | constructor(opts: TabsTesterOpts) { |
| 41 | let {root, user, interactionType, direction} = opts; |
| 42 | this.user = user; |
| 43 | this._interactionType = interactionType || 'mouse'; |
| 44 | this._direction = direction || 'ltr'; |
| 45 | |
| 46 | this._tablist = root; |
| 47 | let tablist = within(root).queryAllByRole('tablist'); |
| 48 | if (tablist.length > 0) { |
| 49 | this._tablist = tablist[0]; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Set the interaction type used by the tabs tester. |
nothing calls this directly
no outgoing calls
no test coverage detected