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:
parent
32f48ae65a
commit
1e1a346cdb
|
|
@ -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>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue