summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/karma.config.js1
-rw-r--r--package.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/karma.config.js b/config/karma.config.js
index 5c3d454addf..44229e2ee88 100644
--- a/config/karma.config.js
+++ b/config/karma.config.js
@@ -6,6 +6,7 @@ var ROOT_PATH = path.resolve(__dirname, '..');
module.exports = function(config) {
config.set({
basePath: ROOT_PATH,
+ browsers: ['PhantomJS'],
frameworks: ['jasmine'],
files: [
{ pattern: 'spec/javascripts/test_bundle.js', watched: false },
diff --git a/package.json b/package.json
index 4ce08487c3d..fe48fa152c1 100644
--- a/package.json
+++ b/package.json
@@ -41,6 +41,7 @@
"jasmine-jquery": "^2.1.1",
"karma": "^1.3.0",
"karma-jasmine": "^1.1.0",
+ "karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0"
}