From c9a12e4ca1b7eead70f367e4328763d979567737 Mon Sep 17 00:00:00 2001 From: Sander Date: Wed, 31 Jul 2024 13:40:19 +0200 Subject: [PATCH] docs(ct): fix component.update example for vue and svelte (#31889) --- docs/src/test-components-js.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test-components-js.md b/docs/src/test-components-js.md index dc448eff00..e0bdc000bf 100644 --- a/docs/src/test-components-js.md +++ b/docs/src/test-components-js.md @@ -697,7 +697,7 @@ test('update', async ({ mount }) => { ```js test('update', async ({ mount }) => { - const component = await mount(); + const component = await mount(Component); await component.update({ props: { msg: 'greetings' }, on: { callback: () => {} }, @@ -711,7 +711,7 @@ test('update', async ({ mount }) => { ```js test('update', async ({ mount }) => { - const component = await mount(); + const component = await mount(Component); await component.update({ props: { msg: 'greetings' }, on: { callback: () => {} },