Thanks to visit codestin.com Credit goes to github.com
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 60584c8 commit e689b5eCopy full SHA for e689b5e
src/v2/guide/unit-testing.md
@@ -94,7 +94,7 @@ import MyComponent from './MyComponent.vue'
94
// helper function that mounts and returns the rendered text
95
function getRenderedText (Component, propsData) {
96
const Ctor = Vue.extend(Component)
97
- const vm = new Ctor({ propsData }).$mount()
+ const vm = new Ctor({ propsData: propsData }).$mount()
98
return vm.$el.textContent
99
}
100
0 commit comments