(node: TestNode)
| 220 | } |
| 221 | |
| 222 | function nextSibling(node: TestNode): TestNode | null { |
| 223 | const parent = node.parentNode |
| 224 | if (!parent) { |
| 225 | return null |
| 226 | } |
| 227 | const i = parent.children.indexOf(node) |
| 228 | return parent.children[i + 1] || null |
| 229 | } |
| 230 | |
| 231 | function querySelector(): never { |
| 232 | throw new Error('querySelector not supported in test renderer.') |
no test coverage detected