karma.conf.js 295 B

1234567891011
  1. module.exports = function (karma) {
  2. karma.set({
  3. frameworks: ['mocha'],
  4. files: ['test/tmp/browserified.js'],
  5. reporters: ['mocha-own'],
  6. mochaOwnReporter: {
  7. reporter: 'spec'
  8. },
  9. browsers: process.env.TRAVIS ? ['Firefox', 'PhantomJS'] : ['Chrome', 'PhantomJS']
  10. })
  11. }