(el: HTMLElement)
| 134 | } |
| 135 | |
| 136 | export function verifyNodeWasHydrated(el: HTMLElement) { |
| 137 | if (readHydrationInfo(el)?.status !== HydrationStatus.Hydrated) { |
| 138 | fail('Hydration error: the node is *not* hydrated: ' + el.outerHTML); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | export function verifyNodeWasNotHydrated(el: HTMLElement) { |
| 143 | if (readHydrationInfo(el)?.status === HydrationStatus.Hydrated) { |
no test coverage detected
searching dependent graphs…