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
673e84d59d
commit
32f48ae65a
|
|
@ -432,7 +432,7 @@ Or alternatively, using the `jsx` style:
|
||||||
import { test } from '@playwright/experimental-ct-vue';
|
import { test } from '@playwright/experimental-ct-vue';
|
||||||
|
|
||||||
test('callback', async ({ mount }) => {
|
test('callback', async ({ mount }) => {
|
||||||
const component = await mount(<Component callback={() => {}} />);
|
const component = await mount(<Component v-on:callback={() => {}} />);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue