Skip to content

Commit f969bd1

Browse files
ImADraftereps1lon
andauthored
Update types/index.d.ts
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
1 parent 148d3e8 commit f969bd1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

types/index.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export interface RenderOptions<
3434
Q extends Queries = typeof queries,
3535
Container extends Element | DocumentFragment = HTMLElement
3636
> {
37-
/** By default, React Testing Library will create a div and append that div to the document.body and this is
38-
* where your React component will be rendered. If you provide your own HTMLElement container via this option,
37+
/** By default, React Testing Library will create a div and append that div to the document.body. Your React component will be rendered in the created div. If you provide your own HTMLElement container via this option,
3938
* it will not be appended to the document.body automatically.
4039
*
4140
* For example: If you are unit testing a `<tbody>` element, it cannot be a child of a div. In this case, you can

0 commit comments

Comments
 (0)