UNPKG

angular-error-shipper

Version:

An error interceptor and shipper for AngularJS

47 lines (35 loc) 929 B
// Karma configuration module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine'], reports: ['progress'], files: [ 'bower_components/angular/angular.js', 'bower_components/angular-mocks/angular-mocks.js', 'bower_components/sinon/lib/sinon.js', 'src/**/*.js', 'test/unit/**/*.spec.js' ], port: 9876, colors: true, // LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG logLevel: config.LOG_INFO, // Start these browsers, currently available: // - Chrome // - ChromeCanary // - Firefox // - Opera // - Safari (only Mac) // - PhantomJS // - IE (only Windows) browsers: [process.env.TRAVIS ? 'Firefox' : 'Chrome'], captureTimeout: 60000, singleRun: false, plugins: [ 'karma-jasmine', 'karma-chrome-launcher', 'karma-firefox-launcher' ] }); };