fix tests for nodemailer

This commit is contained in:
Daniel Chao
2018-06-17 10:55:53 -07:00
parent bd5ba6e9d5
commit f1a1aba294
+3 -4
View File
@@ -726,8 +726,8 @@ function sendmail_test() {
// line ending transforms using windows-style newlines
function sendmail_line_endings_windows_test () {
function process_le (mail: MailMessage) {
function sendmail_line_endings_windows_test() {
function process_le(mail: MailMessage) {
const input = mail.message.createReadStream();
input.pipe(new LeWindows());
}
@@ -742,7 +742,6 @@ function sendmail_line_endings_unix_test() {
}
}
// 5. SES transport
// Send a message using SES transport
@@ -1366,4 +1365,4 @@ function well_known_test() {
if (options) {
console.log(options.host, options.port, options.secure);
}
}
}