Skip to content

Commit

Permalink
ci: stub request get method for system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Mar 17, 2017
1 parent fe4e8f7 commit 9149de4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,14 @@ var fakeBunyan = function() {
};
};

// For {module:storage} docs.
var fakeRequest = function() {};
// For various docs.
var fakeRequest = function() {
return {
get: function() {
return new require('stream').PassThrough();
}
};
};

// For {module:logging-winston} docs.
var fakeWinston = function() {
Expand Down

0 comments on commit 9149de4

Please sign in to comment.