Angular app for CAC desktop
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

45 lignes
1.4 KiB

  1. // Karma configuration file, see link for more information
  2. // https://karma-runner.github.io/1.0/config/configuration-file.html
  3. module.exports = function (config) {
  4. config.set({
  5. basePath: '',
  6. frameworks: ['jasmine', '@angular-devkit/build-angular'],
  7. plugins: [
  8. require('karma-jasmine'),
  9. require('karma-chrome-launcher'),
  10. require('karma-jasmine-html-reporter'),
  11. require('karma-coverage'),
  12. require('@angular-devkit/build-angular/plugins/karma')
  13. ],
  14. client: {
  15. jasmine: {
  16. // you can add configuration options for Jasmine here
  17. // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
  18. // for example, you can disable the random execution with `random: false`
  19. // or set a specific seed with `seed: 4321`
  20. },
  21. clearContext: false // leave Jasmine Spec Runner output visible in browser
  22. },
  23. jasmineHtmlReporter: {
  24. suppressAll: true // removes the duplicated traces
  25. },
  26. coverageReporter: {
  27. dir: require('path').join(__dirname, './coverage/cac-desktop'),
  28. subdir: '.',
  29. reporters: [
  30. { type: 'html' },
  31. { type: 'text-summary' }
  32. ]
  33. },
  34. reporters: ['progress', 'kjhtml'],
  35. port: 9876,
  36. colors: true,
  37. logLevel: config.LOG_INFO,
  38. autoWatch: true,
  39. browsers: ['Chrome'],
  40. singleRun: false,
  41. restartOnFileChange: true
  42. });
  43. };