2015-08-20 16:19:34 -04:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-27 11:09:09 -04:00
|
|
|
var browserProvidersConf = require('../../browser-providers.conf.js');
|
2015-08-20 16:19:34 -04:00
|
|
|
|
|
|
|
// This runs the tests for the router in Angular 1.x
|
|
|
|
|
|
|
|
module.exports = function (config) {
|
|
|
|
var options = {
|
|
|
|
frameworks: ['jasmine'],
|
|
|
|
|
|
|
|
files: [
|
2016-08-25 20:28:36 -04:00
|
|
|
'../../node_modules/core-js/client/core.js',
|
2015-08-20 16:19:34 -04:00
|
|
|
'../../node_modules/angular/angular.js',
|
|
|
|
'../../node_modules/angular-animate/angular-animate.js',
|
|
|
|
'../../node_modules/angular-mocks/angular-mocks.js',
|
|
|
|
|
|
|
|
'../../dist/angular_1_router.js',
|
2015-09-18 18:54:35 -04:00
|
|
|
'src/ng_route_shim.js',
|
2015-08-20 16:19:34 -04:00
|
|
|
|
|
|
|
'test/*.es5.js',
|
2015-08-20 17:26:57 -04:00
|
|
|
'test/**/*_spec.js'
|
2015-08-20 16:19:34 -04:00
|
|
|
],
|
|
|
|
|
2015-10-27 11:09:09 -04:00
|
|
|
customLaunchers: browserProvidersConf.customLaunchers,
|
2015-08-20 16:19:34 -04:00
|
|
|
|
2015-11-19 15:19:04 -05:00
|
|
|
browsers: ['Chrome']
|
2015-08-20 16:19:34 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
config.set(options);
|
|
|
|
};
|