Skip to content

Commit 0ee41be

Browse files
authored
docs(zh): api/wrapper/emitted Notes 断言事件的数量 to 断言事件的有效数据 (#2014)
1 parent 32afb32 commit 0ee41be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/api/wrapper/emitted.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test('emit demo', async () => {
3030
// 断言事件的数量
3131
expect(wrapper.emitted().foo.length).toBe(2)
3232

33-
// 断言事件的数量
33+
// 断言事件的有效数据
3434
expect(wrapper.emitted().foo[1]).toEqual([123])
3535
})
3636
```

0 commit comments

Comments
 (0)