Skip to content

Commit fea2e60

Browse files
committed
docs: issue 1306, improve consistency
1 parent 723cbe5 commit fea2e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/dom-testing-library/api-configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ screen.getByTestId('foo', {suggest: false}) // will not throw a suggestion
133133
> **Note**
134134
>
135135
> When this option is enabled, the library may provide suggestions that lack an
136-
> intuitive implementation. This typically occurs for
136+
> intuitive implementation, this typically occurs for
137137
> [roles which can not be named](https://w3c.github.io/aria/#namefromprohibited),
138138
> most notably paragraphs. For instance, if you attempt to use
139139
> [`getByText`](queries/bytext.mdx), you may encounter the following error:
@@ -154,7 +154,7 @@ screen.getByTestId('foo', {suggest: false}) // will not throw a suggestion
154154
>
155155
> ```js
156156
> getByRole('paragraph', {
157-
> name: (_, element) => element.textContent === 'Hello world!',
157+
> name: (_, element) => element.textContent === 'Hello world',
158158
> })
159159
> ```
160160

0 commit comments

Comments
 (0)