Displaying 1 to 3 from 3 results

vue-testing - Let's make Vue Testing And Mocking Become Easier And Much Fun

  •    Javascript

Let's make Vue Testing And Mocking Become Easier And Much Fun. Probably, you'll not get frustated with that code. Cause it's simple. until your component uses vue properties that magically injected by some plugin. For example vue-router injects this.$router and this.$route Or vuex injects this.$store. It will throw error variable undefined since we not render the whole app. So, How do you handle it without touching your component code? It needs some effort.

vuex-saga - Better Vuex Action To Simplify Your Async Flow Process And Code Testing

  •    Javascript

Better Vuex Action To Simplify Your Async Flow Process And Code Testing. It's inspired by redux-saga but it works differently. Vuex Saga just simplify the action for async and testing while redux-saga is being advance async flow control which can make some watchers. You can import vuex-saga.js to your vue component file like this and process it with your preprocessor.