Skip to content

Commit bb3acc6

Browse files
Update unit-testing.md (vuejs#2472)
Fix helper function arguments
1 parent 2b1ca8c commit bb3acc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/unit-testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ import MyComponent from './MyComponent.vue'
9191

9292
// helper function that mounts and returns the rendered component
9393
function getMountedComponent(Component, propsData) {
94-
return shallowMount(MyComponent, {
94+
return shallowMount(Component, {
9595
propsData
9696
})
9797
}

0 commit comments

Comments
 (0)