WIP Domain listing app with automatic status checking. Buitl with AngularJS.

karma.conf.js 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // Karma configuration
  2. // http://karma-runner.github.io/0.12/config/configuration-file.html
  3. // Generated on 2015-05-16 using
  4. // generator-karma 1.0.0
  5. module.exports = function(config) {
  6. 'use strict';
  7. config.set({
  8. // enable / disable watching file and executing tests whenever any file changes
  9. autoWatch: true,
  10. // base path, that will be used to resolve files and exclude
  11. basePath: '../',
  12. // testing framework to use (jasmine/mocha/qunit/...)
  13. // as well as any additional frameworks (requirejs/chai/sinon/...)
  14. frameworks: [
  15. "jasmine"
  16. ],
  17. // list of files / patterns to load in the browser
  18. files: [
  19. // bower:js
  20. 'bower_components/jquery/dist/jquery.js',
  21. 'bower_components/angular/angular.js',
  22. 'bower_components/bootstrap/dist/js/bootstrap.js',
  23. 'bower_components/angular-animate/angular-animate.js',
  24. 'bower_components/angular-cookies/angular-cookies.js',
  25. 'bower_components/angular-resource/angular-resource.js',
  26. 'bower_components/angular-route/angular-route.js',
  27. 'bower_components/angular-sanitize/angular-sanitize.js',
  28. 'bower_components/angular-touch/angular-touch.js',
  29. 'bower_components/firebase/firebase.js',
  30. 'bower_components/angularfire/dist/angularfire.js',
  31. 'bower_components/spin.js/spin.js',
  32. 'bower_components/ladda/dist/ladda.min.js',
  33. 'bower_components/angular-ladda/dist/angular-ladda.min.js',
  34. 'bower_components/angular-mocks/angular-mocks.js',
  35. // endbower
  36. "app/scripts/**/*.js",
  37. "test/mock/**/*.js",
  38. "test/spec/**/*.js"
  39. ],
  40. // list of files / patterns to exclude
  41. exclude: [
  42. ],
  43. // web server port
  44. port: 8080,
  45. // Start these browsers, currently available:
  46. // - Chrome
  47. // - ChromeCanary
  48. // - Firefox
  49. // - Opera
  50. // - Safari (only Mac)
  51. // - PhantomJS
  52. // - IE (only Windows)
  53. browsers: [
  54. "PhantomJS"
  55. ],
  56. // Which plugins to enable
  57. plugins: [
  58. "karma-phantomjs-launcher",
  59. "karma-jasmine"
  60. ],
  61. // Continuous Integration mode
  62. // if true, it capture browsers, run tests and exit
  63. singleRun: false,
  64. colors: true,
  65. // level of logging
  66. // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
  67. logLevel: config.LOG_INFO,
  68. // Uncomment the following lines if you are using grunt's server to run the tests
  69. // proxies: {
  70. // '/': 'http://localhost:9000/'
  71. // },
  72. // URL root prevent conflicts with the site root
  73. // urlRoot: '_karma_'
  74. });
  75. };