Skip to content

Commit 92993df

Browse files
committed
test: fix flow error:
1 parent 69c7ab2 commit 92993df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wrappers/wrapper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@ export default class Wrapper implements BaseWrapper {
392392
throwError('wrapper.destroy() can only be called on a Vue instance')
393393
}
394394

395-
if (this.vm.$el.parentNode) {
396-
this.vm.$el.parentNode.removeChild(this.vm.$el)
395+
if (this.element.parentNode) {
396+
this.element.parentNode.removeChild(this.element)
397397
}
398-
398+
// $FlowIgnore
399399
this.vm.$destroy()
400400
}
401401

0 commit comments

Comments
 (0)