Quantcast
Channel: Frank van Wijk – Xebia Blog
Viewing all articles
Browse latest Browse all 7

Mocking Vuex in Storybook and Vue Test Utils

$
0
0

tl;dr: Scroll down to Conclusion immediately In Storybook, each story is a new Vue app⇒ register Vuex plugin on Vue prototype In Vue Test Utils, each test reuses the existing Vue constructor⇒ register Vuex plugin on local Vue instance This blog post demonstrates how to set up a simple unit test and story for a […]

The post Mocking Vuex in Storybook and Vue Test Utils appeared first on Xebia Blog.


Viewing all articles
Browse latest Browse all 7

Trending Articles