Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert Vuex calls #3

Open
hmsk opened this issue Dec 5, 2018 · 1 comment
Open

Assert Vuex calls #3

hmsk opened this issue Dec 5, 2018 · 1 comment

Comments

@hmsk
Copy link
Owner

hmsk commented Dec 5, 2018

No description provided.

@hmsk
Copy link
Owner Author

hmsk commented Jan 24, 2019

expect(wrapper).toHaveDispatched("action name")
expect(wrapper).toHaveDispatched("action name", payload)
expect(wrapper).toHaveMutated("mutation name")
expect(wrapper).toHaveMutated("mutation name", payload)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant