angular-cn/modules/angular1_router/karma-router.conf.js

30 lines
660 B
JavaScript

'use strict';
var browserProvidersConf = require('../../browser-providers.conf.js');
// This runs the tests for the router in Angular 1.x
module.exports = function (config) {
var options = {
frameworks: ['jasmine'],
files: [
'../../node_modules/angular/angular.js',
'../../node_modules/angular-animate/angular-animate.js',
'../../node_modules/angular-mocks/angular-mocks.js',
'../../dist/angular_1_router.js',
'src/ng_route_shim.js',
'test/*.es5.js',
'test/**/*_spec.js'
],
customLaunchers: browserProvidersConf.customLaunchers,
browsers: ['ChromeCanary']
};
config.set(options);
};