(scratch)
| 208 | * @param {HTMLElement} scratch |
| 209 | */ |
| 210 | export function teardown(scratch) { |
| 211 | if (!document.contains(scratch)) return; |
| 212 | |
| 213 | if (scratch) { |
| 214 | scratch.parentNode.removeChild(scratch); |
| 215 | } |
| 216 | |
| 217 | if (oldOptions != null) { |
| 218 | assign(options, oldOptions); |
| 219 | oldOptions = null; |
| 220 | } |
| 221 | |
| 222 | testUtilTeardown(); |
| 223 | |
| 224 | if (getLog().length > 0) { |
| 225 | clearLog(); |
| 226 | } |
| 227 | |
| 228 | restoreElementAttributes(); |
| 229 | } |
| 230 | |
| 231 | const Foo = () => 'd'; |
| 232 | export const getMixedArray = () => |
no test coverage detected
searching dependent graphs…