Skip to content

Commit 080e2bb

Browse files
committed
Fix invalid test. hostname must start with http(s)://
1 parent a1ddaa3 commit 080e2bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/decorateRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('decorateRequest', function() {
6565
it('returns err to host application for processing', function(done) {
6666
var app = express();
6767

68-
app.use(proxy('/reject-promise', {
68+
app.use(proxy('httpbin.org', {
6969
proxyReqOptDecorator: function() {
7070
return Promise.reject('An arbitrary rejection message.');
7171
}

0 commit comments

Comments
 (0)