We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd17d3 commit 9b0510bCopy full SHA for 9b0510b
README.md
@@ -253,10 +253,10 @@ This allows you to assert whether an element is present in the document or not.
253
254
```javascript
255
expect(
256
- queryByTestId(document.documentElement, 'html-element'),
+ getByTestId(document.documentElement, 'html-element'),
257
).toBeInTheDocument()
258
259
- queryByTestId(document.documentElement, 'svg-element'),
+ getByTestId(document.documentElement, 'svg-element'),
260
261
262
queryByTestId(document.documentElement, 'does-not-exist'),
0 commit comments