(...nodes: Node[])
| 2429 | } |
| 2430 | |
| 2431 | function childrenOf(...nodes: Node[]): Node[] { |
| 2432 | const result: Node[] = []; |
| 2433 | for (const node of nodes) { |
| 2434 | let current: Node | null = node.firstChild; |
| 2435 | while (current) { |
| 2436 | result.push(current); |
| 2437 | current = current.nextSibling; |
| 2438 | } |
| 2439 | } |
| 2440 | return result; |
| 2441 | } |
| 2442 | |
| 2443 | function verifyNodesRemainUntouched(root: HTMLElement, exceptions: Node[] = []) { |
| 2444 | if (!root) { |
no test coverage detected
searching dependent graphs…