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.

karma.webcrypto.config.js 818 B

пре 8 година
пре 8 година
пре 8 година
123456789101112131415161718192021222324252627282930
  1. module.exports = function (config) {
  2. var configuration = {
  3. basePath: '..',
  4. frameworks: ['mocha', 'chai'],
  5. files: [
  6. 'node_modules/unibabel/index.js',
  7. 'node_modules/unibabel/unibabel.hex.js',
  8. 'webcrypto.js',
  9. 'tests/**/*.js'
  10. ],
  11. exclude: [
  12. 'tests/node.js',
  13. 'tests/helper.js',
  14. 'tests/karma.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. };