Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add note about baseElement removed from render #533

Merged
merged 2 commits into from
Sep 3, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/MigrationV7.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ You can opt-out of this behavior by running tests with `RNTL_SKIP_AUTO_CLEANUP=t

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.

## No `container` returned from `render`
## No `container` nor `baseElement` returned from `render`

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

## Firing events changes

Expand Down