-
Notifications
You must be signed in to change notification settings - Fork 345
/
karma.conf.js
43 lines (33 loc) · 930 Bytes
/
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
/* 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"],
plugins: [
"karma-chrome-launcher",
"karma-firefox-launcher",
"karma-jasmine",
"karma-junit-reporter"
],
junitReporter: {
outputFile: "test_out/unit.xml",
suite: "unit"
}
});
};