We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c8d6c commit fe18cd4Copy full SHA for fe18cd4
src/guide/unit-testing.md
@@ -93,7 +93,7 @@ import MyComponent from './MyComponent.vue'
93
94
// helper function that mounts and returns the rendered text
95
function getRenderedText (Component, propsData) {
96
- const Ctor = Vue.extend(MyComponent)
+ const Ctor = Vue.extend(Component)
97
const vm = new Ctor({ propsData }).$mount()
98
return vm.$el.textContent
99
}
0 commit comments