Skip to content

Commit 2b24a88

Browse files
fakeexpress mock
1 parent bdcf552 commit 2b24a88

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/docs.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,12 @@ describe('documentation', function() {
111111
global: global
112112
};
113113

114+
// For {module:datastore} docs.
114115
function FakeExpress() {
115116
return {
116-
get: function() {}
117+
get: function(route, callback) {
118+
callback({ query: {} }, {});
119+
}
117120
};
118121
}
119122

0 commit comments

Comments
 (0)