()
| 133 | } |
| 134 | |
| 135 | function getFirstTab() { |
| 136 | const count = getTabsCount(); |
| 137 | |
| 138 | // Look for non disabled tab from the first tab |
| 139 | for (let i = 0; i < count; i++) { |
| 140 | if (!isTabDisabled(getTab(i))) { |
| 141 | return i; |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | /* istanbul ignore next */ |
| 146 | return null; |
| 147 | } |
| 148 | |
| 149 | function getLastTab() { |
| 150 | let i = getTabsCount(); |
no test coverage detected
searching dependent graphs…