Skip to content

Commit 99732d9

Browse files
authored
docs: fix marko browser example (#7295)
1 parent f17918a commit 99732d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/browser/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ test('renders a message', async () => {
558558
const { baseElement } = await render(Greeting, { name: 'Marko' })
559559
const screen = page.elementLocator(baseElement)
560560
await expect.element(screen.getByText(/Marko/)).toBeInTheDocument()
561-
await expect.element(container.firstChild).toMatchInlineSnapshot(`
561+
expect(container.firstChild).toMatchInlineSnapshot(`
562562
<h1>Hello, Marko!</h1>
563563
`)
564564
})

0 commit comments

Comments
 (0)