Testing

Tests are written using Jest and run each time a commit is pushed using Travis CI. Run the tests with the following commands:

# build (required for testing with nuxt components)
npm run build

# run lint
npm lint

# run unit tests
npm unit

# run all tests
npm test