()
| 121 | |
| 122 | return { |
| 123 | hydrate() { |
| 124 | /* istanbul ignore if */ |
| 125 | if (!hydrate) { |
| 126 | throw new Error( |
| 127 | 'Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.', |
| 128 | ) |
| 129 | } |
| 130 | // Nothing to do since hydration happens when creating the root object. |
| 131 | }, |
| 132 | render(element) { |
| 133 | root.render(element) |
| 134 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…