Update docs/src/test-components-js.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Sander <info@mesander.com>
This commit is contained in:
Sander 2024-08-19 18:45:30 +02:00 committed by GitHub
parent 32f48ae65a
commit 1e1a346cdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -838,7 +838,7 @@ import { test } from '@playwright/experimental-ct-vue';
test('update', async ({ mount }) => { test('update', async ({ mount }) => {
const component = await mount(<Component/>); const component = await mount(<Component/>);
await component.update( await component.update(
<Component msg="greetings" callback={() => {}}>Child</Component> <Component msg="greetings" v-on:callback={() => {}}>Child</Component>
); );
}); });
``` ```