Skip to content

Commit 098876e

Browse files
HusamElbashireddyerburgh
authored andcommitted
docs: fix grammar in dom-events.md (#1081)
1 parent 3ce2950 commit 098876e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/guides/dom-events.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Trigger events
44

5-
The `Wrapper` expose a `trigger` method. It can be used to trigger DOM events.
5+
The `Wrapper` exposes a `trigger` method. It can be used to trigger DOM events.
66

77
```js
88
const wrapper = mount(MyButton)
@@ -158,13 +158,13 @@ describe('Key event tests', () => {
158158
expect(wrapper.vm.quantity).toBe(0)
159159
})
160160

161-
it('Cursor up sets quantity to 1', () => {
161+
it('Up arrow key increments quantity by 1', () => {
162162
const wrapper = mount(QuantityComponent)
163163
wrapper.trigger('keydown.up')
164164
expect(wrapper.vm.quantity).toBe(1)
165165
})
166166

167-
it('Cursor down reduce quantity by 1', () => {
167+
it('Down arrow key decrements quantity by 1', () => {
168168
const wrapper = mount(QuantityComponent)
169169
wrapper.vm.quantity = 5
170170
wrapper.trigger('keydown.down')

0 commit comments

Comments
 (0)