Skip to content

Commit 4ffb9ed

Browse files
author
Raice Hannay
committed
update docs
1 parent 2d9656c commit 4ffb9ed

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/enzyme/WrapperWithRedux.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ Sets the default Redux store state to be used for the wrapper instance.
7272
### `withReduxState`
7373
Sets the scenario-specific Redux store state to be used - cleared after `mount`, `render` or `shallow` are called.
7474

75+
### `withMergedReduxArrays`
76+
Toggles whether arrays get merged or not in Redux state.
77+
7578
### `mount`
7679
Mounts the component with the Enzyme `mount` function, using the currently-set data.
7780
Returns a `ReactWrapper` instance, which also includes a `store` property.

docs/react-testing-library/WrapperWithRedux.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ Sets the default Redux store state to be used for the wrapper instance.
6565
### `withReduxState`
6666
Sets the scenario-specific Redux store state to be used - cleared after `render` is called.
6767

68+
### `withMergedReduxArrays`
69+
Toggles whether arrays get merged or not in Redux state.
70+
6871
### `render`
6972
Mounts the component with the `react-testing-library` `render` function, using the currently-set data.
7073
Returns a `RenderResult` instance, which also includes a `store` property.

0 commit comments

Comments
 (0)