overleaf/services/web/test/unit/coffee/helpers/MockRequest.coffee
2018-06-11 10:35:23 +02:00

14 lines
177 B
CoffeeScript

class MockRequest
param: (param) -> @params[param]
session:
destroy:->
params: {}
query: {}
body: {}
_parsedUrl:{}
i18n:
translate:->
module.exports = MockRequest