add phantomJS to karma config

This commit is contained in:
Mike Greiling 2017-01-13 11:05:26 -05:00
parent 60339e044b
commit 8a643c8fcd
2 changed files with 2 additions and 0 deletions

View File

@ -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 },

View File

@ -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"
}