Skip to content
Browse files

Improve test coverage.

  • Loading branch information...
1 parent 9bdfb75 commit 4d991ed5fdd58c9fe624853ab0fb77f42b77a14d @cliffano committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/jenkins.js
View
1 test/jenkins.js
@@ -232,6 +232,7 @@ buster.testCase('jenkins - console', {
statusCode: 200,
headers: { 'x-more-data': 'false', 'x-text-size': 20 }
});
+ this.stub(process, 'env', {}); // simulate no http_proxy environment variable
this.stub(bag, 'http', { request: mockBagRequest });
var jenkins = new Jenkins('http://localhost:8080');
jenkins.console('job1', { interval: 1 }, function (err, result) {

0 comments on commit 4d991ed

Please sign in to comment.
Something went wrong with that request. Please try again.