Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit e6420b0

Browse files
committed
Added code coverage and moved jquery-simulate to devDependencies.
1 parent 3576d8c commit e6420b0

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
bower_components/
2-
node_modules/
2+
node_modules/
3+
coverage/

bower.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
],
1818
"dependencies": {
1919
"angular": "~1.2.x",
20-
"jquery-ui": ">= 1.9",
21-
"jquery-simulate": "latest"
20+
"jquery-ui": ">= 1.9"
2221
},
2322
"devDependencies": {
24-
"angular-mocks": "~1.2.x"
23+
"angular-mocks": "~1.2.x",
24+
"jquery-simulate": "latest"
2525
}
2626
}

test/test.conf.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,13 @@ files = [
1212
];
1313
singleRun = true;
1414
autoWatch = false;
15-
browsers = [ 'Chrome' ];
15+
browsers = [ 'Chrome' ];
16+
17+
if (singleRun) {
18+
reporters = [ 'coverage' ];
19+
preprocessors = { '**/src/*.js': 'coverage' };
20+
coverageReporter = {
21+
type : 'html',
22+
dir : 'coverage/'
23+
};
24+
}

0 commit comments

Comments
 (0)