Skip to content

Commit 57d0fcf

Browse files
committed
Update testing.md
1 parent 7bfebf7 commit 57d0fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developer_docs/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ This folder contains the inital redux states that you can provide to the ``redux
247247
this i dont know much about yet but want to understand
248248
249249
## Testing plain components
250-
If it doesn't export connect()___ or use redux hooks like ___, then testing your component will be simpler and might look something like this:
250+
If it doesn't contain ``connect(mapStateToProps, mapDispatchToProps)(ComponentName)`` or use hooks like ``useSelector``, then your component is not connected to Redux and testing your component will be simpler and might look something like this:
251251
252252
```
253253
import React from 'react';

0 commit comments

Comments
 (0)