mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 12:13:11 +00:00
@@ -118,7 +118,7 @@ Return an object representing the rendered tree. This tree only contains the pla
|
||||
testRenderer.toTree()
|
||||
```
|
||||
|
||||
Return an object representing the rendered tree. Unlike `toJSON()`, the representation is more detailed than the one provided by `toJSON()`, and includes the user-written components. You probably don't need this method unless you're writing your own assertion library on top of the test rendererer.
|
||||
Return an object representing the rendered tree. Unlike `toJSON()`, the representation is more detailed than the one provided by `toJSON()`, and includes the user-written components. You probably don't need this method unless you're writing your own assertion library on top of the test renderer.
|
||||
|
||||
### `testRenderer.update()`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user