Skip to content

Commit

Permalink
Upgrade karma-phantomjs-launcher and karma-browserify. Fix browser
Browse files Browse the repository at this point in the history
tests.

Fixes #2035.
Fixes #2044.
Closes #2056
  • Loading branch information
eiriksm committed Feb 5, 2016
1 parent 4278b86 commit 3e63b90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -53,7 +53,7 @@
},
"devDependencies": {
"bluebird": "^3.0.2",
"browserify": "^13.0.0",
"browserify": "^12.0.2",
"browserify-istanbul": "^0.1.5",
"buffer-equal": "^1.0.0",
"codecov.io": "^0.1.6",
Expand All @@ -62,11 +62,12 @@
"function-bind": "^1.0.2",
"istanbul": "^0.4.0",
"karma": "^0.13.10",
"karma-browserify": "^4.4.0",
"karma-browserify": "^5.0.1",
"karma-cli": "^0.1.1",
"karma-coverage": "^0.5.3",
"karma-phantomjs-launcher": "^0.1.4",
"karma-phantomjs-launcher": "^1.0.0",
"karma-tap": "^1.0.3",
"phantomjs-prebuilt": "^2.1.3",
"rimraf": "^2.2.8",
"server-destroy": "^1.0.1",
"tape": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/browser/test.js
Expand Up @@ -18,7 +18,7 @@ tape('returns on error', function(t) {
uri: 'https://stupid.nonexistent.path:port123/\\<-great-idea',
withCredentials: false
}, function (error, response) {
t.equal(response.statusCode, 0)
t.equal(typeof error, 'object')
t.end()
})
})
Expand Down

0 comments on commit 3e63b90

Please sign in to comment.