forked from terrestris/SolrHeatmap
-
Notifications
You must be signed in to change notification settings - Fork 3
/
karma.conf.js
53 lines (53 loc) · 1.6 KB
/
karma.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = function ( config ) {
config.set({
basePath: '.',
files: [
'assets/lib/angular/angular.min.js',
"assets/lib/jquery/jquery-2.1.3.min.js",
"assets/lib/bootstrap/js/bootstrap.min.js",
"assets/lib/ui-bootstrap/ui-bootstrap-tpls-1.3.3.min.js",
"assets/lib/angular/angular-ui-router.js",
"assets/lib/proj4js/proj4.js",
"config/3857.js",
"assets/lib/ol3/ol.js",
"assets/lib/ol3-ext/filter/filter.js",
"assets/lib/ol3-ext/filter/maskfilter.js",
"assets/lib/ol3-ext/interaction/transforminteraction.js",
'node_modules/angularjs-slider/dist/rzslider.js',
'node_modules/angular-mocks/angular-mocks.js',
'assets/lib/ol3-google-maps/dist/ol3gm.js',
'assets/lib/geostats/lib/geostats.min.js',
'https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyAjtdt_Db2IOZDVYznVqot45xUs1tNhhDw',
'app/**/*.js',
'tests/**/*.spec.js',
'app/**/*.tpl.html',
'assets/lib/moment/min/moment.min.js'
],
exclude: [
],
frameworks: [ 'jasmine' ],
preprocessors: {
'app/**/*.js': ['coverage'],
'app/**/*.tpl.html': ['ng-html2js']
},
ngHtml2JsPreprocessor: {
stripPrefix: 'app/',
moduleName: 'templates-components'
},
reporters: ['spec','coverage'],
port: 9018,
runnerPort: 9100,
urlRoot: '/',
autoWatch: false,
coverageReporter: {
dir: 'reports',
reporters:[
{type: 'html', subdir: 'html/'},
{type: 'lcovonly', subdir: 'coverage/', file: 'lcov.info'},
]
},
browsers: [
'PhantomJS'
]
});
};