From f1a1aba294e69da567230d280e162df819e24477 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Sun, 17 Jun 2018 10:55:53 -0700 Subject: [PATCH] fix tests for nodemailer --- types/nodemailer/nodemailer-tests.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/types/nodemailer/nodemailer-tests.ts b/types/nodemailer/nodemailer-tests.ts index b3218ba1ab..6f045df08b 100644 --- a/types/nodemailer/nodemailer-tests.ts +++ b/types/nodemailer/nodemailer-tests.ts @@ -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); } -} \ No newline at end of file +}