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 019c155 commit 5dacfc5Copy full SHA for 5dacfc5
packages/test-utils/src/wrapper.js
@@ -635,7 +635,7 @@ export default class Wrapper implements BaseWrapper {
635
636
// If this element's method has been reset by setMethod, it won't trigger
637
// Make sure that this element is updated with the latest method
638
- if (this.vnode) {
+ if (this.vnode && this.vm && this.vm.$options.render) {
639
const context = this.vnode.context
640
context._update(context._render())
641
}
0 commit comments