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.

karma.conf.js 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // Karma configuration
  2. // Generated on Sun Dec 11 2016 16:29:58 GMT-0500 (EST)
  3. module.exports = function(config) {
  4. config.set({
  5. // base path that will be used to resolve all patterns (eg. files, exclude)
  6. basePath: '',
  7. // frameworks to use
  8. // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
  9. frameworks: ['jasmine'],
  10. // list of files / patterns to load in the browser
  11. files: [
  12. './node_modules/angular/angular.js',
  13. './node_modules/angular-ui-router/release/angular-ui-router.js',
  14. './node_modules/angular-mocks/angular-mocks.js',
  15. './src/luticate2-utils.js',
  16. './src/**/*.js',
  17. './tests/**/*.spec.js'
  18. ],
  19. // list of files to exclude
  20. exclude: [
  21. ],
  22. // preprocess matching files before serving them to the browser
  23. // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
  24. preprocessors: {
  25. },
  26. // test results reporter to use
  27. // possible values: 'dots', 'progress'
  28. // available reporters: https://npmjs.org/browse/keyword/karma-reporter
  29. reporters: ['progress'],
  30. // web server port
  31. port: 9876,
  32. // enable / disable colors in the output (reporters and logs)
  33. colors: true,
  34. // level of logging
  35. // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
  36. logLevel: config.LOG_INFO,
  37. // enable / disable watching file and executing tests whenever any file changes
  38. autoWatch: true,
  39. // start these browsers
  40. // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
  41. browsers: ['Chrome'],
  42. // Continuous Integration mode
  43. // if true, Karma captures browsers, runs the tests and exits
  44. singleRun: false,
  45. // Concurrency level
  46. // how many browser should be started simultaneous
  47. concurrency: Infinity
  48. })
  49. }