overleaf/services/web/test/UnitTests/coffee/helpers/MockRequest.coffee
Henry Oswald d047d44079 Changed the error messages which are sent down to the client to be translated first
fixed up tests from titles we check when rendering, deleted them as they never
catch anything important, more hastle than they are worth imo.
2014-08-01 14:03:38 +01:00

12 lines
153 B
CoffeeScript

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