Skip to content

Commit e0359c6

Browse files
authored
fix: add note about baseElement removed from render (#533)
* fix: add note about baseElement removed from render * typos, language
1 parent 5f3639f commit e0359c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/MigrationV7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ You can opt-out of this behavior by running tests with `RNTL_SKIP_AUTO_CLEANUP=t
101101

102102
We don't provide any abstraction over `ReactTestInstance` returned by queries, but allow to use it directly to access queried component's `props` or `type` for that example.
103103

104-
## No `container` returned from `render`
104+
## No `container` nor `baseElement` returned from `render`
105105

106-
There's no such key returned from the `render` function. If you must, use `react-test-renderer` directly, although we advise not doing so.
106+
There's no `container` returned from the `render` function. If you must, use `react-test-renderer` directly, although we advise against doing so. We also don't implement `baseElement` because of that, since there's no `document.documentElement` nor `container`.
107107

108108
## Firing events changes
109109

0 commit comments

Comments
 (0)