https://github.com/br3ndonland/vue-mastery-testing-app
Vue CLI 4 app for Vue Mastery testing course
https://github.com/br3ndonland/vue-mastery-testing-app
jest vue vue-cli vue-mastery vue-test-utils
Last synced: 6 months ago
JSON representation
Vue CLI 4 app for Vue Mastery testing course
- Host: GitHub
- URL: https://github.com/br3ndonland/vue-mastery-testing-app
- Owner: br3ndonland
- License: mit
- Created: 2020-04-05T18:03:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-24T01:37:43.000Z (over 4 years ago)
- Last Synced: 2023-03-06T05:31:41.717Z (over 2 years ago)
- Topics: jest, vue, vue-cli, vue-mastery, vue-test-utils
- Language: Vue
- Homepage: https://www.vuemastery.com/courses/unit-testing/what-to-test
- Size: 757 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-mastery-testing-app

Vue CLI 4 app for [Vue Mastery unit testing course](https://www.vuemastery.com/courses/unit-testing/what-to-test)
Notes in [br3ndonland/vue-mastery-notes](https://github.com/br3ndonland/vue-mastery-notes)
## Project setup
```
npm install
```### Compile and hot-reload for development
```
npm run serve
```### Compile and minify for production
```
npm run build
```### Run unit tests
```
npm run test:unit
```### Lint and fix files
```
npm run lint
npm run fix
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Configuration settings used initially:
```
Vue CLI v4.3.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, Linter, Unit
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Jest
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? (y/N) N
```When [Prettier](https://prettier.io/) is selected, Vue CLI also includes ESLint, which is unnecessary. Some additional configuration is needed to remove ESLint. See commit [`c1889ec`](https://github.com/br3ndonland/vue-mastery-testing-app/commit/c1889ec862f29d87905d5f7be70819ed2df73081) for details on removal of ESLint.