()
| 6 | /* eslint-disable no-console */ |
| 7 | /* istanbul ignore next */ |
| 8 | export function resetState() { |
| 9 | if (globalElement) { |
| 10 | if (globalElement.removeAttribute) { |
| 11 | globalElement.removeAttribute("aria-hidden"); |
| 12 | } else if (globalElement.length != null) { |
| 13 | globalElement.forEach(element => element.removeAttribute("aria-hidden")); |
| 14 | } else { |
| 15 | document |
| 16 | .querySelectorAll(globalElement) |
| 17 | .forEach(element => element.removeAttribute("aria-hidden")); |
| 18 | } |
| 19 | } |
| 20 | globalElement = null; |
| 21 | } |
| 22 | |
| 23 | /* istanbul ignore next */ |
| 24 | export function log() { |
nothing calls this directly
no outgoing calls
no test coverage detected