forked from g0t4/solitaire-systemjs-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
47 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
37
38
39
40
41
42
43
44
45
46
47
/* eslint-env node*/
module.exports = function (config) {
"use strict";
config.set({
basePath: "./",
files: [
"app/bower_components/angular/angular.js",
"app/bower_components/angular-route/angular-route.js",
"app/bower_components/angular-mocks/angular-mocks.js",
"app/bower_components/underscore/underscore.js",
"app/cards/**/*.js",
"app/klondike/piles/pile.js",
"app/klondike/piles/foundationPile.js",
"app/klondike/piles/remainderPile.js",
"app/klondike/piles/tableauPile.js",
"app/klondike/*.js",
"tests/**/*.js"
],
autoWatch: true,
frameworks: ["jasmine"],
browsers: ["Chrome", "Firefox"],
reporters: ['progress', 'junit'],
plugins: [
"karma-chrome-launcher",
"karma-firefox-launcher",
"karma-jasmine",
"karma-junit-reporter",
"karma-phantomjs-launcher",
"karma-safari-launcher"
],
junitReporter: {
outputFile: "test-results.xml",
outputDir: "test-results"
}
});
};