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 f17918a commit 99732d9Copy full SHA for 99732d9
docs/guide/browser/index.md
@@ -558,7 +558,7 @@ test('renders a message', async () => {
558
const { baseElement } = await render(Greeting, { name: 'Marko' })
559
const screen = page.elementLocator(baseElement)
560
await expect.element(screen.getByText(/Marko/)).toBeInTheDocument()
561
- await expect.element(container.firstChild).toMatchInlineSnapshot(`
+ expect(container.firstChild).toMatchInlineSnapshot(`
562
<h1>Hello, Marko!</h1>
563
`)
564
})
0 commit comments