Skip to content
使用karma+webpack搭建的vue单元测试环境
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.
src
test/unit
.gitignore coverage init Jan 8, 2017
karma.conf.js
package.json
readme.md
webpack.config.js

readme.md

karma+webpack搭建的vue单元测试环境

本环境使用了webpack搭建了一个简单的vue开发环境。为方便测试环境移植,webpack的单元测试环境和开发使用的webpack环境隔离。

环境搭建介绍:http://www.jianshu.com/p/a515fbbdd1b2

安装

npm install

安装完成后,执行

karma start
You can’t perform that action at this time.