mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Added a extra sandbox requires to get tests passing
This commit is contained in:
parent
5f3a0f293a
commit
2642c89070
@ -38,9 +38,14 @@ function setupLogging(category, options) {
|
||||
}
|
||||
};
|
||||
|
||||
var fakeTransportPlugin = function () {
|
||||
};
|
||||
|
||||
var smtpModule = sandbox.require('../lib/appenders/smtp', {
|
||||
requires: {
|
||||
'nodemailer': fakeMailer,
|
||||
'nodemailer-sendmail-transport': fakeTransportPlugin,
|
||||
'nodemailer-smtp-transport': fakeTransportPlugin,
|
||||
'../layouts': fakeLayouts
|
||||
},
|
||||
globals: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user