I have vue component code like below
updated: function() {
// set showPackages = true after all the child component render
this.$nextTick(function() {
this.show = this.element.show ? true : false
this.done = true
})
}
Now, we want to the testing of this updated hook and check that this.show is set or not.
Does anyone have any idea how to write test cases for this lifecycle hook?