Skip to content
No description, website, or topics provided.
JavaScript Vue HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
config
mock
src
static
test/unit
.babelrc
.editorconfig
.gitignore
.postcssrc.js
README.md
index.html
package-lock.json
package.json

README.md

vue-unit-test-learn

A project for learning unit test in vue.js

Build Setup

# install dependencies
npm install

# run project
npm run start

# run test
npm run test

dependencies

  • Mocha - 测试框架(Test Framework)
  • Karma - 浏览器测试环境(Test environment)
  • Chai - 断言库(assertion library)
  • Vue-Test-Utils - Vue 测试公用库(Vue Test Utils is the official unit testing utility library for Vue.js)
  • Sinon - 实现测试替代(Standalone test spies, stubs and mocks for JavaScript)
You can’t perform that action at this time.