Skip to content

TechnologyHypofriend/nuxtjs-vue-vuetify-vue-test-utils-jest-sample-project

 
 

Repository files navigation

Setup for Nuxtjs Vue Vuetify Jest

This is sample project having setup of Jest, Vuetify, NuxtJS/Nuxt Typescript, Vue

It can test server side rendering as well

$ make sure to add .nuxt-build-jest in your .gitignore file

Full Tutorial:

https://dev.to/bawa_geek/how-to-setup-jest-testing-in-nuxt-js-project-5c84

Build Setup

# install dependencies
$ npm install

# Running The Tests
$ npm run test

# Folders and Files to Look For
* package.json
* jest.config.js
* jest.setup.js
* tests/*

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

About

Sample Project with Setup of Jest, Vuetify, Nuxtjs, test utils, etc with working example tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.4%
  • Vue 31.1%
  • SCSS 0.5%