8000 docs(zh): api/wrapper/emitted Notes 断言事件的数量 to 断言事件的有效数据 · vuejs/vue-test-utils@7be7592 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

< 10000 div class="position-relative HeaderMenu-link-wrap d-lg-inline-block">
Appearance settings

Commit 7be7592

Browse files
committed
docs(zh): api/wrapper/emitted Notes 断言事件的数量 to 断言事件的有效数据
1 parent c6d28ef commit 7be7592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/api/wrapper/emitted.md

Lines changed: 1 addition & 1 deletion
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)
0