Skip to content

Commit e7fbbda

Browse files
committed
adding phantomjs-launcher for karma
1 parent 569f70f commit e7fbbda

File tree

2 files changed

+37
-36
lines changed

2 files changed

+37
-36
lines changed

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = function(config) {
5757
// - Safari (only Mac)
5858
// - PhantomJS
5959
// - IE (only Windows)
60-
browsers: [],
60+
browsers: ['PhantomJS'],
6161

6262

6363
// If browser does not capture in given timeout [ms], kill it

package.json

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
11
{
2-
"name": "ngProgress",
3-
"version": "1.0.4",
4-
"description": "slim, site-wide progressbar for AngularJS",
5-
"main": "ngProgress.js",
6-
"repository": {
7-
"type": "git",
8-
"url": "git://github.com/VictorBjelkholm/ngProgress.git"
9-
},
10-
"keywords": [
11-
"angular",
12-
"ng-progress",
13-
"ngProgress",
14-
"angular",
15-
"progress",
16-
"bar"
17-
],
18-
"author": "Victor Bjelkholm",
19-
"license": "MIT",
20-
"readmeFilename": "readme.md",
21-
"gitHead": "75f7f7207ee9f13d43c41fc1ef03eb0180268f59",
22-
"url": "https://github.com/VictorBjelkholm/ngProgress",
23-
"bugs": {
24-
"url": "https://github.com/VictorBjelkholm/ngProgress/issues"
25-
},
26-
"devDependencies": {
27-
"grunt-contrib-concat": "~0.3.0",
28-
"grunt-karma": "~0.7.0",
29-
"grunt-contrib-uglify": "~0.2.2",
30-
"grunt-contrib-jshint": "~0.6.0",
31-
"karma": "~0.12",
32-
"karma-jasmine": "~0.1"
33-
},
34-
"scripts": {
35-
"test": "./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
36-
}
2+
"name": "ngProgress",
3+
"version": "1.0.4",
4+
"description": "slim, site-wide progressbar for AngularJS",
5+
"main": "ngProgress.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "git://github.com/VictorBjelkholm/ngProgress.git"
9+
},
10+
"keywords": [
11+
"angular",
12+
"ng-progress",
13+
"ngProgress",
14+
"angular",
15+
"progress",
16+
"bar"
17+
],
18+
"author": "Victor Bjelkholm",
19+
"license": "MIT",
20+
"readmeFilename": "readme.md",
21+
"gitHead": "75f7f7207ee9f13d43c41fc1ef03eb0180268f59",
22+
"url": "https://github.com/VictorBjelkholm/ngProgress",
23+
"bugs": {
24+
"url": "https://github.com/VictorBjelkholm/ngProgress/issues"
25+
},
26+
"devDependencies": {
27+
"grunt-contrib-concat": "~0.3.0",
28+
"grunt-contrib-jshint": "~0.6.0",
29+
"grunt-contrib-uglify": "~0.2.2",
30+
"grunt-karma": "~0.7.0",
31+
"karma": "~0.12",
32+
"karma-jasmine": "~0.1",
33+
"karma-phantomjs-launcher": "^0.1.4"
34+
},
35+
"scripts": {
36+
"test": "./node_modules/karma/bin/karma start --single-run"
37+
}
3738
}

0 commit comments

Comments
 (0)