config.tpl.ls 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Karma configuration
  2. # Generated on %DATE%
  3. module.exports = (config) ->
  4. config.set do
  5. # base path that will be used to resolve all patterns (eg. files, exclude)
  6. basePath: '%BASE_PATH%'
  7. # frameworks to use
  8. # available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter
  9. frameworks: [%FRAMEWORKS%]
  10. # list of files / patterns to load in the browser
  11. files: [%FILES%
  12. ]
  13. # list of files / patterns to exclude
  14. exclude: [%EXCLUDE%
  15. ]
  16. # preprocess matching files before serving them to the browser
  17. # available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor
  18. preprocessors: {%PREPROCESSORS%
  19. }
  20. # test results reporter to use
  21. # possible values: 'dots', 'progress'
  22. # available reporters: https://www.npmjs.com/search?q=keywords:karma-reporter
  23. reporters: ['progress']
  24. # web server port
  25. port: 9876
  26. # enable / disable colors in the output (reporters and logs)
  27. colors: true
  28. # level of logging
  29. # possible values:
  30. # - config.LOG_DISABLE
  31. # - config.LOG_ERROR
  32. # - config.LOG_WARN
  33. # - config.LOG_INFO
  34. # - config.LOG_DEBUG
  35. logLevel: config.LOG_INFO
  36. # enable / disable watching file and executing tests whenever any file changes
  37. autoWatch: %AUTO_WATCH%
  38. # satart these browsers
  39. # available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher
  40. browsers: [%BROWSERS%]
  41. # Continuous Integration mode
  42. # if true, Karma captures browsers, runs the tests and exits
  43. singleRun: false
  44. # Concurrency level
  45. # how many browser instances should be started simultaneously
  46. concurrency: Infinity