No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

83 líneas
1.9 KiB

  1. // Karma configuration
  2. // Generated on Tue Oct 04 2016 13:53:46 GMT+0200 (CEST)
  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. '.config/pretest.js',
  13. {
  14. pattern: 'spec/fixture.css',
  15. included: false,
  16. served: true
  17. },
  18. {
  19. pattern: 'spec/fixture.svg',
  20. included: false,
  21. served: true
  22. },
  23. 'dist/svg.js',
  24. 'spec/spec/**/*.js'
  25. ],
  26. // list of files to exclude
  27. exclude: [],
  28. // preprocess matching files before serving them to the browser
  29. // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
  30. preprocessors: {},
  31. // test results reporter to use
  32. // possible values: 'dots', 'progress'
  33. // available reporters: https://npmjs.org/browse/keyword/karma-reporter
  34. reporters: ['progress'],
  35. // configure the coverage reporter
  36. coverageReporter: {},
  37. // web server port
  38. port: 9875,
  39. // enable / disable colors in the output (reporters and logs)
  40. colors: true,
  41. // level of logging
  42. // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
  43. logLevel: config.LOG_ERROR,
  44. // enable / disable watching file and executing tests whenever any file changes
  45. autoWatch: false,
  46. // start these browsers
  47. // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
  48. browsers: ['PhantomJS'],
  49. // Continuous Integration mode
  50. // if true, Karma captures browsers, runs the tests and exits
  51. singleRun: true,
  52. // Concurrency level
  53. // how many browser should be started simultaneous
  54. concurrency: 1
  55. })
  56. }