-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs]
shallow
: .prop(key w/ child component of wrapper and func
It was not immediately obvious to me that if `.prop(key)` returned a function, that you could pass that function parameters and test the effect of calling the function with those parameters. I hoping this would help make that possibility more clear to other React testing newbies.
- Loading branch information
Showing
1 changed file
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters