You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 'vue-test-utils' cannot call setData on wrapper because data exists only on "this" and not on "this.$data" TypeError: Cannot add property dataText, object is not extensible await wrapper.setData({dataText: 'Test'})
Using 'vue-test-utils' cannot call setData on wrapper because data exists only on "this" and not on "this.$data"
TypeError: Cannot add property dataText, object is not extensible
await wrapper.setData({dataText: 'Test'})
I added test case for that
https://github.com/tsiotska/vue-class-component/blob/fix/data-init/test/specs/test.spec.ts#L67
Could you give me some pointers how to fix this?
Also related:
vuejs/test-utils#572
vuejs/test-utils#1058
The text was updated successfully, but these errors were encountered: