You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.4 KiB

  1. // Karma configuration
  2. // Generated on Sun Oct 13 2013 15:14:38 GMT-0400 (EDT)
  3. module.exports = function(config) {
  4. config.set({
  5. // base path, that will be used to resolve files and exclude
  6. basePath: '',
  7. // frameworks to use
  8. frameworks: ['jasmine'],
  9. // list of files / patterns to load in the browser
  10. files: [
  11. '**/*.js'
  12. ],
  13. // list of files to exclude
  14. exclude: [
  15. '**/*.swp',
  16. 'karma.conf.js'
  17. ],
  18. // test results reporter to use
  19. // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
  20. reporters: ['progress'],
  21. // web server port
  22. port: 9876,
  23. // enable / disable colors in the output (reporters and logs)
  24. colors: true,
  25. // level of logging
  26. // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
  27. logLevel: config.LOG_INFO,
  28. // enable / disable watching file and executing tests whenever any file changes
  29. autoWatch: true,
  30. // Start these browsers, currently available:
  31. // - Chrome
  32. // - ChromeCanary
  33. // - Firefox
  34. // - Opera
  35. // - Safari (only Mac)
  36. // - PhantomJS
  37. // - IE (only Windows)
  38. browsers: ['PhantomJS'],
  39. // If browser does not capture in given timeout [ms], kill it
  40. captureTimeout: 60000,
  41. // Continuous Integration mode
  42. // if true, it capture browsers, run tests and exit
  43. singleRun: false
  44. });
  45. };