From 5677c25426700cfe3584acca262bb0207b5a2671 Mon Sep 17 00:00:00 2001 From: BitDen Date: Sat, 11 Nov 2017 13:05:47 +0800 Subject: [PATCH] Change config --- package.json | 2 +- test/config/karma.conf.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6c057825..2ed94f89 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "test": "grunt test", "dev": "concurrently --kill-others --raw \"grunt server\" \"grunt test\"", "build": "grunt build", - "webpack-test": "webpack --config webpack/config.js && karma start test/config/karma.conf.js --single-run" + "webpack-test": "webpack --config webpack/config.js && karma start test/config/karma.conf.js" }, "devDependencies": { "babel-core": "^6.22.1", diff --git a/test/config/karma.conf.js b/test/config/karma.conf.js index 34662427..63c4b85e 100644 --- a/test/config/karma.conf.js +++ b/test/config/karma.conf.js @@ -51,10 +51,10 @@ module.exports = function (config) { // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, + autoWatch: false, - keepalive: true, + keepalive: false, // Start these browsers, currently available: @@ -80,6 +80,6 @@ module.exports = function (config) { // Continuous Integration mode // if true, it capture browsers, run tests and exit - singleRun: false + singleRun: true }); };