Skip to content

codingstones/codelytv-vue-advanced

Repository files navigation

JotasJS Advanced

Demo project for the CodelyTV Pro video course Testing unidirectional dataflow with Vuex and Jest you may find in: Testing unidirectional dataflow con Vuex y Jest

Note that although all the videos and course contents are in Spanish, this repo is only available in English.

🦎🦎🦎🦎🦎 DISCLAIMER (Jan 2021) 🦎🦎🦎🦎🦎

This project is very old and tests were a bit outdated 😓

We just migrated every test to Vue Testing Library and set testing-library as the default branch 🔥

(You can always jump to jotas branch if you want to check the old fashioned tests).

Getting Started!

# install dependencies
$ yarn install

# run tests
$ yarn unit
or
$ npm run unit

# run tests in watch mode
$ yarn unit:watch
or
$ npm run unit:watch

# run tests in with coverage
$ yarn unit:coverage
or
$ npm run unit:coverage

# serve with hot reload at localhost:8080
$ yarn dev mat

# 'mat' was the material theme, try iOS with
$ yarn dev ios

# build for production with minification
$ quasar build

Going Mobile!

You may want to wrap the App into a native mobile App. Given you already have Cordova and an Android or iOS SDK installed in your system, run:

quasar wrap cordova
cordova platform add android
cordova run android

For full details, take a look to the Quasar guide.