ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 50346c4fcdad12c3d3ed2d3408566d797b1dd03d
parent c3c067e7af077ae00d948d579f7e714406d6f937
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Wed, 17 Sep 2014 23:32:27 +0400

Add singleRun: true to karma config in order to support CI

Diffstat:
Mconfig/karma.js | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/config/karma.js b/config/karma.js @@ -3,9 +3,9 @@ var webpackConfig = require('./webpack.js')(/* release */ false); module.exports = function (config) { config.set({ - basePath : '../', + basePath: '../', - files : [ + files: [ 'src/**/*Spec.jsx' ], @@ -26,13 +26,15 @@ module.exports = function (config) { } }, - autoWatch : true, + autoWatch: false, + + singleRun: true, frameworks: ['jasmine'], - browsers : ['Chrome'], + browsers: ['Chrome'], - plugins : [ + plugins: [ 'karma-chrome-launcher', 'karma-firefox-launcher', 'karma-phantomjs-launcher',