Skip to content

Commit

Permalink
docs: fix marko browser example (#7295)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Jan 20, 2025
1 parent f17918a commit 99732d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/browser/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ test('renders a message', async () => {
const { baseElement } = await render(Greeting, { name: 'Marko' })
const screen = page.elementLocator(baseElement)
await expect.element(screen.getByText(/Marko/)).toBeInTheDocument()
await expect.element(container.firstChild).toMatchInlineSnapshot(`
expect(container.firstChild).toMatchInlineSnapshot(`
<h1>Hello, Marko!</h1>
`)
})
Expand Down

0 comments on commit 99732d9

Please sign in to comment.