RenderedTree is the result of TestRender. It provides query methods to find nodes and simulate interactions, then re-render to see changes.
| 65 | // RenderedTree is the result of TestRender. It provides query methods |
| 66 | // to find nodes and simulate interactions, then re-render to see changes. |
| 67 | type RenderedTree struct { |
| 68 | scope *Scope |
| 69 | root *viewNode |
| 70 | component *componentNode |
| 71 | } |
| 72 | |
| 73 | // Rerender triggers a re-render of the component and updates the tree. |
| 74 | func (rt *RenderedTree) Rerender() { |
nothing calls this directly
no outgoing calls
no test coverage detected