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: [
|
|
|
|
'../../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
|
|
|
|
|
|
|
browsers: ['ChromeCanary']
|
|
|
|
};
|
|
|
|
|
|
|
|
config.set(options);
|
|
|
|
};
|