overleaf/services/web/test/unit/coffee/helpers/MockRequest.coffee
2017-11-27 17:10:22 +00:00

13 lines
167 B
CoffeeScript

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