karma.conf.js 416 B

1234567891011121314151617181920212223242526272829
  1. module.exports = function(config) {
  2. config.set({
  3. basePath: '',
  4. frameworks: ['jasmine'],
  5. files: ['spec/**/*.js', 'node_modules/axe-core/axe.js'],
  6. exclude: [],
  7. preprocessors: {},
  8. reporters: ['progress'],
  9. port: 9876,
  10. colors: true,
  11. logLevel: config.LOG_INFO,
  12. autoWatch: true,
  13. browsers: ['ChromeHeadless'],
  14. singleRun: true,
  15. concurrency: Infinity
  16. });
  17. };