https://github.com/edcsu/vue_test_project
This is a sample test project using mocha+chai+sinon to test mixins
https://github.com/edcsu/vue_test_project
mocha mocha-chai-sinon mocha-webpack unit-test unit-testing vue-cli vue-test-utils vuejs2
Last synced: about 2 months ago
JSON representation
This is a sample test project using mocha+chai+sinon to test mixins
- Host: GitHub
- URL: https://github.com/edcsu/vue_test_project
- Owner: edcsu
- Created: 2019-09-27T09:59:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T23:19:31.000Z (over 1 year ago)
- Last Synced: 2025-09-07T11:47:57.156Z (10 months ago)
- Topics: mocha, mocha-chai-sinon, mocha-webpack, unit-test, unit-testing, vue-cli, vue-test-utils, vuejs2
- Language: JavaScript
- Size: 354 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# test_project v0.1.0
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
### Run your unit tests
```
npm run test:unit
```
mocha-webpack is a wrapper around webpack + Mocha, but with a more streamlined interface and watch mode.
The benefits of this setup is that we can get complete SFC support via webpack + vue-loader.
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
### More Information
1. [Vue Test Utils](https://vue-test-utils.vuejs.org/) The official unit testing utility library for Vue.js.
2. [Testing Single-File Components with Mocha + webpack](https://vue-test-utils.vuejs.org/guides/testing-single-file-components-with-mocha-webpack.html)
3. [Mocha](https://mochajs.org/)
4. [Mocha-webpack](http://zinserjan.github.io/mocha-webpack/)
5. [Chai](https://www.chaijs.com/)
6. [Sinon](https://sinonjs.org/)