Skip to content

Commit b046b50

Browse files
mdjastrzebskithymikee
authored andcommitted
code review changes
1 parent 9b0e6e9 commit b046b50

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/pure.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ import { getDefaultNormalizer } from './matches';
99
import { renderHook } from './renderHook';
1010
import { screen } from './screen';
1111

12+
export type { RenderResult };
13+
1214
export { act };
1315
export { cleanup };
1416
export { fireEvent };
15-
export { render, RenderResult };
17+
export { render };
1618
export { waitFor };
1719
export { waitForElementToBeRemoved };
1820
export { within, getQueriesForElement };

website/docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ let screen: RenderResult;
179179

180180
Hold the value of latest render call for easier access to query and other functions returned by [`render`](#render).
181181

182-
It's value is automatically cleared after each test by calling [`cleanup`](#cleanup). If no `render` call has been made in a given test then it holds a special object that implements `RenderResult` but throws a helpful error on each property and method access.
182+
Its value is automatically cleared after each test by calling [`cleanup`](#cleanup). If no `render` call has been made in a given test then it holds a special object that implements `RenderResult` but throws a helpful error on each property and method access.
183183

184184
## `cleanup`
185185

0 commit comments

Comments
 (0)