overleaf/services/web/test/unit/coffee/helpers/MockRequest.coffee
2018-07-06 12:03:47 +02:00

16 lines
196 B
CoffeeScript

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