您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

30 行
801 B

  1. module.exports = function (config) {
  2. var configuration = {
  3. basePath: '..',
  4. frameworks: ['mocha', 'chai'],
  5. files: [
  6. 'node_modules/bluebird/js/browser/bluebird.core.min.js',
  7. 'lib/lesspass.js',
  8. 'tests/**/*.js'
  9. ],
  10. exclude: [
  11. 'tests/node.js',
  12. 'tests/helper.js',
  13. 'tests/karma.webcrypto.config.js',
  14. ],
  15. preprocessors: {},
  16. reporters: ['progress'],
  17. port: 9876,
  18. colors: true,
  19. logLevel: config.LOG_INFO,
  20. autoWatch: true,
  21. browsers: ['Chrome', 'Firefox'],
  22. singleRun: true,
  23. concurrency: Infinity
  24. };
  25. if (process.env.TRAVIS) {
  26. configuration.browsers = ['PhantomJS'];
  27. }
  28. config.set(configuration)
  29. };