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
For testing purpose, I try to trigger an event on some html element inside my component for check if my vuex action triggered. In my .spec file I try this:
For testing purpose, I try to trigger an event on some html element inside my component for check if my vuex action triggered. In my .spec file I try this:
Template is simple:
<button @click="triggerClick">test</button>
But I have nothing except
[vue-test-utils]: find did not return button, cannot call trigger() on empty Wrapper
Did I miss something?
The text was updated successfully, but these errors were encountered: