text: // Karma configuration
  // Generated on Tue Dec 25 2018 14:42:12 GMT+0200 (IST)
  
  const puppeteer = require('puppeteer');
  process.env.CHROME_BIN = puppeteer.executablePath();
  
  module.exports = function(config) {
    config.set({
  
      // base path that will be used to resolve all patterns (eg. files, exclude)
      basePath: '',
  
  
      // frameworks to use
      // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
      frameworks: ['jasmine'],
  
  
      // list of files / patterns to load in the browser
      files: [
        // vendors
        'https://code.jquery.com/jquery-3.3.1.slim.min.js',
        'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js',
        'https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js',
        'https://ajax.googleapis.com/ajax/libs/angularjs/1.7.5/angular.min.js',
        '../angular/vendor/angular-ui-router.min.js',
        
        
        // firebase initialization
        'https://www.gstatic.com/firebasejs/5.6.0/firebase.js',
        '../node_modules/firebase-mock/browser/firebasemock.js',
        '../js/my.firebase.init.js',
  
        // testing
        'https://cdnjs.cloudflare.com/ajax/libs/angular-mocks/1.7.5/angular-mocks.min.js',
  
        // compatibility functions and tools
        '../js/compat.js', 
  
        // the source
        '../angular/app.js', 
        '../angular/services/*.js', 
        '../angular/controllers/*.js', 
  
        // the tests
        //'my_karma.init.js',
        './**/*.test.js',
        //'unit/PostController.test.js'
      ],
  
  
      // list of files / patterns to exclude
      exclude: [
      ],
  
  
      // preprocess matching files before serving them to the browser
      // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
      preprocessors: {
      },
  
  
      // test results reporter to use
      // possible values: 'dots', 'progress'
      // available reporters: https://npmjs.org/browse/keyword/karma-reporter
      reporters: ['progress'],
  
  
      // web server port
      port: 9876,
  
  
      // enable / disable colors in the output (reporters and logs)
      colors: true,
  
  
      // level of logging
      // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
      logLevel: config.LOG_INFO,
  
  
      // enable / disable watching file and executing tests whenever any file changes
      autoWatch: true,
  
  
      // start these browsers
      // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
      browsers: ['Chrome_without_security'],
  
      // you can define custom flags
      customLaunchers: {
        Chrome_without_security: {
          base: 'ChromeHeadless',
          flags: ['--disable-web-security']
        }
      },
  
  
  
      // Continuous Integration mode
      // if true, Karma captures browsers, runs the tests and exits
      singleRun: false,
  
      // Concurrency level
      // how many browser should be started simultaneous
      concurrency: Infinity
    });
  };
  