nuxt-unit-testing
nuxt-unit-testing copied to clipboard
Nuxt template including unit testing
nuxt-unit-testing
Nuxt testing
Build Setup
# install dependencies
$ yarn install # Or yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
Test
# Unit test
$ yarn test:unit
# End to end test
$ yarn test:e2e
# Test all
$ yarn test