修改 unit test 的配置 (#10)

* change require vue to Vue && waterfall.md

* use vue in amd & commonjs, use Vue in root

* change webpack config

* fix some config
This commit is contained in:
Yao
2017-04-25 18:10:05 +08:00
committed by GitHub
parent 50f359a420
commit 2b5d306628
5 changed files with 75 additions and 96 deletions

View File

@@ -9,7 +9,7 @@ var travis = process.env.TRAVIS;
module.exports = function(config) {
config.set({
browsers: travis ? ['PhantomJS'] : ['Chrome'],
browsers: travis ? ['PhantomJS'] : ['PhantomJS', 'Chrome'],
frameworks: ['mocha', 'sinon-chai'],
reporters: ['spec', 'coverage'],
files: ['./index.js'],