added stubs for nodemailer into unit tests

This commit is contained in:
Henry Oswald 2017-12-11 11:40:25 +00:00
parent bd7e2d956d
commit 3e2c997e8b

View file

@ -31,6 +31,8 @@ describe "EmailSender", ->
@sender = SandboxedModule.require modulePath, requires:
'nodemailer': @ses
"nodemailer-mandrill-transport":{}
"nodemailer-sendgrid-transport":{}
"settings-sharelatex":@settings
'../../infrastructure/RateLimiter':@RateLimiter
"logger-sharelatex":