add phantomJS to karma config
This commit is contained in:
parent
60339e044b
commit
8a643c8fcd
|
@ -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 },
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue