(node: ChildNode | null)
| 757 | } |
| 758 | |
| 759 | function skipTextNodes(node: ChildNode | null): ChildNode | null { |
| 760 | // Ignore whitespace. Before the <body>, we shouldn't find text nodes that aren't whitespace. |
| 761 | while (node && node.nodeType === Node.TEXT_NODE) { |
| 762 | node = node.previousSibling; |
| 763 | } |
| 764 | return node; |
| 765 | } |
| 766 | |
| 767 | /** |
| 768 | * Verifies whether the DOM contains a special marker added during SSR time to make sure |
no outgoing calls
no test coverage detected