overleaf/services/web/test/UnitTests/coffee/helpers/MockRequest.coffee

13 lines
167 B
CoffeeScript

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