-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathkarma.conf.js
37 lines (36 loc) · 1.02 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
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'riot'],
plugins: [
'karma-jasmine',
'karma-coverage',
'karma-firefox-launcher',
'karma-riot'
],
files: [
'js/*.js',
'js/riot/*.js',
'js/*.tag',
'js/D3/*.js',
'js/d3-context-menu/*.js',
'js/jquery/*js',
'js/bootstrap/*.js',
'js/bootstrap-fileinput/*.js',
'js/bootstrap-select/*.js',
'js/JSZip/*.js',
{ pattern: 'rdf-schema/*.rdf', watched: true, served: true, included: false },
'spec/*.js'
],
browsers: ['FirefoxDeveloper'],
singleRun: true,
reporters: ['progress', 'coverage'],
preprocessors: {
'js/*.tag': ['riot'], //'coverage'],
'js/*.js': ['coverage']
},
proxies: {
"/rdf-schema/": "/base/rdf-schema/"
},
});
};