dragonroll/backend/node_modules/passport-jwt/test/mock_request.js

11 lines
178 B
JavaScript

/**
A mock Request for testing jwt extractor functions
*/
function Request() {
this.method = 'GET';
this.url = '/';
this.headers = {};
}
module.exports = Request;