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

31 行
860 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. 'node_modules/big-integer/BigInteger.min.js',
  8. 'dist/lesspass.js',
  9. 'tests/**/*.js'
  10. ],
  11. exclude: [
  12. 'tests/node.js',
  13. 'tests/helper.js',
  14. 'tests/karma.webcrypto.config.js',
  15. ],
  16. preprocessors: {},
  17. reporters: ['progress'],
  18. port: 9876,
  19. colors: true,
  20. logLevel: config.LOG_INFO,
  21. autoWatch: true,
  22. browsers: ['Chrome', 'Firefox'],
  23. singleRun: true,
  24. concurrency: Infinity
  25. };
  26. if (process.env.TRAVIS) {
  27. configuration.browsers = ['PhantomJS'];
  28. }
  29. config.set(configuration)
  30. };