Skip to content

Commit

Permalink
docs(ct): fix component.update example for vue and svelte (microsoft#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sand4rt authored Jul 31, 2024
1 parent daca168 commit c9a12e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/test-components-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: () => {} },
Expand All @@ -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: () => {} },
Expand Down

0 comments on commit c9a12e4

Please sign in to comment.