Skip to content

Commit 8d8d3c9

Browse files
authored
Fix typo in Puppeteer Testing Library doc (#1016)
1 parent 6072bb4 commit 8d8d3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pptr-testing-library/intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const page = await browser.newPage()
4949
const $document = await page.getDocument()
5050
// query methods are added directly to prototype of ElementHandle
5151
const $form = await $document.getByTestId('my-form')
52-
// destructing works if you explicitly call getQueriesForElement
52+
// destructuring works if you explicitly call getQueriesForElement
5353
const {getByLabelText} = $form.getQueriesForElement()
5454
// ...
5555
const $email = await getByLabelText('Email')

0 commit comments

Comments
 (0)