simple page with news from all around the globe
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.

33 lines
1021B

  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-istanbul-reporter'),
  12. require('@angular-devkit/build-angular/plugins/karma')
  13. ],
  14. client: {
  15. clearContext: false // leave Jasmine Spec Runner output visible in browser
  16. },
  17. coverageIstanbulReporter: {
  18. dir: require('path').join(__dirname, './coverage/news-demo'),
  19. reports: ['html', 'lcovonly', 'text-summary'],
  20. fixWebpackSourcePaths: true
  21. },
  22. reporters: ['progress', 'kjhtml'],
  23. port: 9876,
  24. colors: true,
  25. logLevel: config.LOG_INFO,
  26. autoWatch: true,
  27. browsers: ['Chrome'],
  28. singleRun: false,
  29. restartOnFileChange: true
  30. });
  31. };