mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
fix tests for nodemailer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user