Skip to content

Commit

Permalink
Run tests with PhantomJS and load react from karma loader
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Jul 24, 2015
1 parent 8c50245 commit 8f19493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions karma.conf.coffee
Expand Up @@ -2,10 +2,10 @@ webpack = require('webpack')

module.exports = (config) ->
config.set
browsers : ['Chrome']
browsers : ['PhantomJS']
singleRun : false
frameworks : ['mocha']
files : ['tests.webpack.js']
files : ['./node_modules/react/dist/react-with-addons.js', 'tests.webpack.js']
reporters : ['dots']
browserNoActivityTimeout: 30000

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -36,6 +36,7 @@
"karma-chrome-launcher" : "^0.2.0",
"karma-cli" : "^0.1.0",
"karma-mocha" : "^0.2.0",
"karma-phantomjs-launcher" : "~0.1",
"karma-webpack" : "^1.6.0",
"node-libs-browser" : "^0.5.2",
"postcss-loader" : "^0.4.3",
Expand Down

0 comments on commit 8f19493

Please sign in to comment.