Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhuan committed Jun 17, 2022
1 parent 71947a7 commit a05e1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/essentials/forms.md
Expand Up @@ -366,7 +366,7 @@ Assume we have a form that uses the Vuetify textarea:
<template>
<form>
<v-textarea v-model="description" ref="description" />
<button @click="handleClick">Send</button>
<button class="submit" @click="handleClick">Send</button>
</form>
</template>
Expand Down Expand Up @@ -398,7 +398,7 @@ test('emits textarea value on click', async () => {

wrapper.find('.submit').trigger('click')

expect(wrapper.emitted('submit')[0][0]).toEqual({ description })
expect(wrapper.emitted('submit')[0][0]).toEqual(description)
})
```

Expand Down

0 comments on commit a05e1ca

Please sign in to comment.