Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 699 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 699 Bytes

Unit testing

  • VUE TEST UTILS is the official unit testing utility library for Vue.js.
  • JEST is a delightful JavaScript Testing Framework with a focus on simplicity.

Run all unit tests

$ yarn test:unit

Run a specific unit test

# Using global jest command to execute test for header component
$ jest --verbose --no-cache --runTestsByPath #ABSOLUTE_PATH#/tests/components/molecules/Input.spec.js

# Using jest command through node_modules to execute test for header component
./node_modules/jest/bin/jest.js --verbose --no-cache --runTestsByPath #ABSOLUTE_PATH#/test/components/common/header.spec.js