Skip to content

Commit e23c3c4

Browse files
committed
unit-testing.md исправлен пример
1 parent cfa53ef commit e23c3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import MyComponent from './MyComponent.vue'
9494
// возвращающая строку с результатами рендеринга
9595
function getRenderedText (Component, propsData) {
9696
const Ctor = Vue.extend(Component)
97-
const vm = new Ctor({ propsData }).$mount()
97+
const vm = new Ctor({ propsData: propsData }).$mount()
9898
return vm.$el.textContent
9999
}
100100

0 commit comments

Comments
 (0)