forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma-router.conf.js
38 lines (28 loc) · 909 Bytes
/
karma-router.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
'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/core-js/client/core.js',
'../../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: ['Chrome']
};
config.set(options);
};