fix: preview unit test

This commit is contained in:
niunai
2017-05-24 16:53:15 +08:00
parent 38d8003532
commit 19b814f1db
2 changed files with 13 additions and 3 deletions
+1 -1
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'],