basePath = '..';
files = [
  'components/angular/angular.js',
  'components/angular-mocks/angular-mocks.js',
  'src/adaptive-scroll.js',
  'test/*.spec.js'
];
frameworks = ["jasmine"];
singleRun = true;
browsers = [ 'Chrome' ];
module.exports = function(config) {
  config.set({
    basePath: '..',
    files: [
      'components/angular/angular.js',
      'components/angular-mocks/angular-mocks.js',
      'src/adaptive-scroll.js',
      'test/*.spec.js'
    ],
    frameworks: ['jasmine'],
    singleRun: true,
    browsers: [ 'Chrome' ]
  });
};
change karma config as module.exports