karma.conf.coffee 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Karma configuration
  2. # http://karma-runner.github.io/0.10/config/configuration-file.html
  3. module.exports = (config) ->
  4. config.set
  5. # base path, that will be used to resolve files and exclude
  6. basePath: ''
  7. # testing framework to use (jasmine/mocha/qunit/...)
  8. frameworks: ['jasmine']
  9. # list of files / patterns to load in the browser
  10. files: [
  11. 'test/polyfills/bind.js'
  12. 'bower_components/jquery/dist/jquery.js'
  13. 'bower_components/angular/angular.js'
  14. 'bower_components/angular-mocks/angular-mocks.js'
  15. 'src/renderer/canvas.js'
  16. 'src/easypiechart.js'
  17. 'src/jquery.plugin.js'
  18. 'src/angular.directive.js'
  19. 'test/**/*.js'
  20. ]
  21. # list of files / patterns to exclude
  22. exclude: []
  23. # web server port
  24. port: 8080
  25. # level of logging
  26. # possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
  27. logLevel: config.LOG_INFO
  28. # enable / disable watching file and executing tests whenever any file changes
  29. autoWatch: true
  30. # reporters
  31. reporters: ['progress', 'dots']
  32. # Start these browsers, currently available:
  33. # - Chrome
  34. # - ChromeCanary
  35. # - Firefox
  36. # - Opera
  37. # - Safari (only Mac)
  38. # - PhantomJS
  39. # - IE (only Windows)
  40. browsers: ['Chrome']
  41. # Continuous Integration mode
  42. # if true, it capture browsers, run tests and exit
  43. singleRun: false