We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32afb32 commit 0ee41beCopy full SHA for 0ee41be
docs/zh/api/wrapper/emitted.md
@@ -30,7 +30,7 @@ test('emit demo', async () => {
30
// 断言事件的数量
31
expect(wrapper.emitted().foo.length).toBe(2)
32
33
- // 断言事件的数量
+ // 断言事件的有效数据
34
expect(wrapper.emitted().foo[1]).toEqual([123])
35
})
36
```
0 commit comments