Tagged: jest

0

Jest testing useful commands

The setup, enable the jest command in the console: npm install -g jest-cli Run a single test with detailed output: jest...

0

Tutorials with Jest for Vue.js

Here some interesting tutorials on how to create tests with Jest: https://alexjoverm.github.io/2017/08/21/Write-the-first-Vue-js-Component-Unit-Test-in-Jest/ https://codeburst.io/a-pattern-for-mocking-and-unit-testing-vuex-actions-8f6672bdb255 https://alexjoverm.github.io/2017/09/25/Test-Methods-and-Mock-Dependencies-in-Vue-js-with-Jest/ https://forum-archive.vuejs.org/topic/3823/how-to-test-a-component-that-contains-vuex-getters/4