update tests

This commit is contained in:
webcarrot
2018-12-07 12:44:26 +01:00
committed by GitHub
parent 8b4d0980ef
commit a7a41699ea
+8 -1
View File
@@ -25,7 +25,14 @@ const exampleSendData: mailgunFactory.messages.SendData = {
attachment: new mailgun.Attachment({
data: "filepath",
filename: "my_custom_name.png"
})
}),
inline: [
new mailgun.Attachment({
data: "filepath",
filename: "my_custom_name_2.png"
}),
"my_custom_file_3.png"
]
};
mailgun.messages().send(exampleSendData, (err, body) => {});