mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
tidy of travis to try to get nodes tests to pass
This commit is contained in:
@@ -88,7 +88,7 @@ describe('email Node', function () {
|
||||
done(e);
|
||||
}
|
||||
//finally { smtpTransport.sendMail.restore(); }
|
||||
}, 1000);
|
||||
}, 1500);
|
||||
});
|
||||
|
||||
it('should fail to send an email (invalid creds)', function (done) {
|
||||
@@ -128,8 +128,9 @@ describe('email Node', function () {
|
||||
//console.log(evt[0].msg);
|
||||
return evt[0].type == "e-mail";
|
||||
});
|
||||
//console.log(helper.log().args);
|
||||
//console.log(helper.log());
|
||||
// console.log(helper.log().args);
|
||||
// console.log(helper.log());
|
||||
// console.log(logEvents[0][0].msg.toString());
|
||||
//logEvents.should.have.length(3);
|
||||
logEvents[0][0].should.have.a.property('msg');
|
||||
logEvents[0][0].msg.toString().should.startWith("Error:");
|
||||
@@ -138,7 +139,7 @@ describe('email Node', function () {
|
||||
done(e);
|
||||
}
|
||||
//finally { smtpTransport.sendMail.restore(); }
|
||||
}, 1000);
|
||||
}, 1900);
|
||||
})
|
||||
|
||||
it('should fail to send an email (no creds provided)', function (done) {
|
||||
@@ -183,8 +184,8 @@ describe('email Node', function () {
|
||||
done(e);
|
||||
}
|
||||
//finally { smtpTransport.sendMail.restore(); }
|
||||
}, 1000);
|
||||
}, 1900);
|
||||
})
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user