Skip to content

Commit

Permalink
Update shallowWrapper text method
Browse files Browse the repository at this point in the history
Added some comments
  • Loading branch information
imskrishnan authored Jun 29, 2021
1 parent 8c55734 commit ff3a2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Returns a string of the rendered text of the current render tree. This function should be
looked at with skepticism if being used to test what the actual HTML output of the component
will be. If that is what you would like to test, use enzyme's `render` function instead.
will be. If that is what you would like to test, use enzyme's `render` function instead. Adding a simple comment here!

Note: can only be called on a wrapper of a single node.

Expand Down

0 comments on commit ff3a2bb

Please sign in to comment.