not really known
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.

75 lines
1.7 KiB

  1. // Karma configuration
  2. // Generated on Mon May 13 2013 10:01:17 GMT-0300 (ART)
  3. // list of files / patterns to load in the browser
  4. module.exports = function (config) {
  5. config.set({
  6. frameworks: ['jasmine', 'requirejs'],
  7. // base path, that will be used to resolve files and exclude
  8. basePath: '..',
  9. files: [
  10. 'test/loader.js',
  11. {
  12. pattern: 'lib/**/*.js',
  13. included: false
  14. }, {
  15. pattern: '*.js',
  16. included: false
  17. }, {
  18. pattern: 'activity/**/*.js',
  19. included: false
  20. }, {
  21. pattern: 'graphics/**/*',
  22. included: false
  23. }
  24. ],
  25. // list of files to exclude
  26. exclude: [],
  27. // test results reporter to use
  28. // possible values: 'dots', 'progress', 'junit'
  29. reporters: ['progress'],
  30. // web server port
  31. port: 9876,
  32. // cli runner port
  33. runnerPort: 9100,
  34. // enable / disable colors in the output (reporters and logs)
  35. colors: true,
  36. // level of logging
  37. // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO ||
  38. // LOG_DEBUG
  39. logLevel: config.LOG_INFO,
  40. // enable / disable watching file and executing tests whenever any file
  41. // changes
  42. autoWatch: true,
  43. // If browser does not capture in given timeout [ms], kill it
  44. captureTimeout: 60000,
  45. // Continuous Integration mode
  46. // if true, it capture browsers, run tests and exit
  47. singleRun: false,
  48. preprocessors: {}
  49. });
  50. };