summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-01-13 11:05:26 -0500
committerMike Greiling <mike@pixelcog.com>2017-01-13 11:07:13 -0500
commit8a643c8fcd15e23a3b97ddc03a161ce3c8451099 (patch)
tree27f1d80ea5632994246b3001482080d681f614f8
parent60339e044b0909e31e385bcc687f6bdf60b049b2 (diff)
downloadgitlab-ce-8a643c8fcd15e23a3b97ddc03a161ce3c8451099.tar.gz
add phantomJS to karma config
-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"
}