From ff3a2bbd0cafa97a87fd4b8b17dc865887b5da24 Mon Sep 17 00:00:00 2001 From: Santhosh Krishnan Date: Tue, 29 Jun 2021 12:23:06 -0400 Subject: [PATCH] Update shallowWrapper text method Added some comments --- docs/api/ShallowWrapper/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/ShallowWrapper/text.md b/docs/api/ShallowWrapper/text.md index 669b5ba50..dd88076d2 100644 --- a/docs/api/ShallowWrapper/text.md +++ b/docs/api/ShallowWrapper/text.md @@ -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.