UNPKG

ng-request-cache

Version:

AngularJS HTTP request cache for IndexeDB and $cacheFactory

32 lines (31 loc) 853 B
// Karma configuration // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine'], files: [ 'bower_components/angular/angular.js', 'bower_components/angular-mocks/angular-mocks.js', 'bower_components/sinonjs/sinon.js', 'bower_components/jasmine-sinon/lib/jasmine-sinon.js', 'src/*.coffee', 'test/mock/**/*.js', 'test/spec/**/*.coffee', 'test/spec/**/*.js' ], exclude: [], port: 8080, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], frameworks: ['jasmine'], plugins: [ 'karma-jasmine', 'karma-coffee-preprocessor', 'karma-chrome-launcher' ], singleRun: false, preprocessors: { '**/*.coffee': ['coffee'] } }); };