Skip to content

Navigation Menu

Sign in
Appearance settings

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

Appearance settings

Commit 343cbcc

Browse filesBrowse files
authored
docs: fix a mistake in the demo 'Attach to DOM' (#1947)
1 parent b1ce2fe commit 343cbcc
Copy full SHA for 343cbcc

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎docs/zh/api/mount.md

Copy file name to clipboardExpand all lines: docs/zh/api/mount.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('Foo', () => {
5858
const div = document.createElement('div')
5959
document.body.appendChild(div)
6060
const wrapper = mount(Foo, {
61-
attachTo: true
61+
attachTo: div
6262
})
6363
expect(wrapper.contains('div')).toBe(true)
6464
wrapper.destroy()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.