karma.conf.js 923 B

123456789101112131415161718192021222324252627282930313233343536
  1. module.exports = function (config) {
  2. 'use strict';
  3. config.set({
  4. basePath: '../../',
  5. browserNoActivityTimeout: 1800000,
  6. urlRoot: '/karma',
  7. frameworks: ['mocha', 'chai', 'sinon'],
  8. files: [
  9. './Tools/DevLoader/BabylonLoader.js',
  10. './tests/validation/index.css',
  11. './tests/validation/integration.js',
  12. { pattern: '**/*', watched: false, included: false, served: true },
  13. ],
  14. proxies: {
  15. '/': '/base/'
  16. },
  17. reporters: ['progress'],
  18. port: 1338,
  19. colors: true,
  20. autoWatch: false,
  21. singleRun: false,
  22. // level of logging
  23. // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
  24. logLevel: config.LOG_INFO,
  25. browsers: ['Chrome']
  26. });
  27. };