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:22 +02:00 committed by GitHub
parent 673e84d59d
commit 32f48ae65a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -432,7 +432,7 @@ Or alternatively, using the `jsx` style:
import { test } from '@playwright/experimental-ct-vue';
test('callback', async ({ mount }) => {
const component = await mount(<Component callback={() => {}} />);
const component = await mount(<Component v-on:callback={() => {}} />);
});
```