mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-17 15:29:34 +03:00
docs(ct): fix component.update example for vue and svelte (#31889)
This commit is contained in:
parent
daca1681c0
commit
c9a12e4ca1
@ -697,7 +697,7 @@ test('update', async ({ mount }) => {
|
||||
|
||||
```js
|
||||
test('update', async ({ mount }) => {
|
||||
const component = await mount(<Component/>);
|
||||
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(<Component/>);
|
||||
const component = await mount(Component);
|
||||
await component.update({
|
||||
props: { msg: 'greetings' },
|
||||
on: { callback: () => {} },
|
||||
|
Loading…
Reference in New Issue
Block a user