overleaf/services/web/test/unit/coffee/helpers/MockRequest.coffee
Simon Detheridge 385da07930 Merge pull request #1675 from sharelatex/spd-zip-file-limit-ui
Display more descriptive errors when uploading a project fails

GitOrigin-RevId: e206ca0d595f927ab141fb901644906f000160f8
2019-03-28 15:14:30 +00:00

16 lines
206 B
CoffeeScript

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