From 37fff3a9f7ec8818c7f8ff36b8e715f43d6dfd1a Mon Sep 17 00:00:00 2001 From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Date: Fri, 6 Mar 2020 17:05:06 +0700 Subject: [PATCH] fix: typo --- docs/dom-testing-library/api-helpers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dom-testing-library/api-helpers.md b/docs/dom-testing-library/api-helpers.md index 37f525849..1d3cc6cd4 100644 --- a/docs/dom-testing-library/api-helpers.md +++ b/docs/dom-testing-library/api-helpers.md @@ -87,7 +87,7 @@ and add it here! getNodeText(node: HTMLElement) ``` -Returns the complete text content of a html element, removing any extra +Returns the complete text content of an HTML element, removing any extra whitespace. The intention is to treat text in nodes exactly as how it is perceived by users in a browser, where any extra whitespace within words in the html code is not meaningful when the text is rendered.