diff --git a/docs/api-async.md b/docs/api-async.md index e49bf9f..79622b0 100644 --- a/docs/api-async.md +++ b/docs/api-async.md @@ -56,7 +56,7 @@ function waitForElement( ``` When you need to wait for elements to appear, you can use `waitForElement`. The `waitForElement` -function is a similar to `wait`, but is specifically intended to wait for an element to appear. +function is similar to `wait`, but is specifically intended to wait for an element to appear. Additionally, the result is returned for you to use. Here's a simple example: diff --git a/docs/api-main.md b/docs/api-main.md index 8bf0b81..067bff5 100644 --- a/docs/api-main.md +++ b/docs/api-main.md @@ -119,7 +119,7 @@ This is a simple wrapper around `prettyPrint` which is also exported. ### `rerender` -Although its likely better to test updating your props the way a user would (through events and +Although it's likely better to test updating your props the way a user would (through events and interaction), this method will allow you to re-render your entire tree at the base with new props. ```jsx diff --git a/docs/api-queries.md b/docs/api-queries.md index 0915514..da0ed53 100644 --- a/docs/api-queries.md +++ b/docs/api-queries.md @@ -22,7 +22,7 @@ elements match. `queryBy*` queries returns the first matching node for a query, and return `null` if no elements match. This is useful for asserting an element is not present. This throws if more than one match is -found (use `queryAllBy` instead).. +found (use `queryAllBy` instead). ### queryAllBy