forked from superdesk/superdesk-client-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
82 lines (65 loc) · 2.82 KB
/
karma.conf.js
File metadata and controls
82 lines (65 loc) · 2.82 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
'use strict';
var path = require('path');
module.exports = function(config) {
config.set({
frameworks: [
'jasmine'
],
preprocessors: {
'**/*.html': ['ng-html2js']
},
// list of files / patterns to load in the browser
files: [
'bower_components/bind-polyfill/index.js',
'bower_components/jquery/dist/jquery.js',
'bower_components/lodash/lodash.js',
'bower_components/bootstrap/dist/js/bootstrap.min.js',
'bower_components/angular/angular.js',
'bower_components/angular-route/angular-route.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/angular-resource/angular-resource.js',
'bower_components/angular-gettext/dist/angular-gettext.js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
'bower_components/ng-file-upload/ng-file-upload.js',
'bower_components/exif-js/exif.js',
'bower_components/gridster/dist/jquery.gridster.with-extras.js',
'bower_components/medium-editor/dist/js/medium-editor.js',
'bower_components/ment.io/dist/mentio.js',
'bower_components/rangy/rangy-core.js',
'bower_components/rangy/rangy-selectionsaverestore.js',
'bower_components/angular-embed/dist/angular-embed.js',
'bower_components/angular-contenteditable/angular-contenteditable.js',
'bower_components/angular-vs-repeat/src/angular-vs-repeat.js',
'bower_components/momentjs/moment.js',
'bower_components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js',
'bower_components/langmap/language-mapping-list.js',
'bower_components/angular-moment/angular-moment.js',
'bower_components/d3/d3.js',
'bower_components/jcrop/js/jquery.Jcrop.js',
'bower_components/react/react.js',
'bower_components/react/react-dom.js',
'bower_components/classnames/index.js',
path.join(__dirname, 'scripts/**/*.js'),
path.join(__dirname, 'scripts/**/*.html')
],
ngHtml2JsPreprocessor: {
stripPrefix: __dirname,
moduleName: 'superdesk.templates-cache'
},
junitReporter: {
outputFile: 'test-results.xml'
},
// test results reporter to use
reporters: ['dots'],
// web server port
port: 8080,
// cli runner port
runnerPort: 9100,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// Start these browsers, currently available:
browsers: ['Chrome'],
// Continuous Integration mode
singleRun: false
});
};