mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
added stubs for nodemailer into unit tests
This commit is contained in:
parent
bd7e2d956d
commit
3e2c997e8b
1 changed files with 2 additions and 0 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue