fix(core): update
This commit is contained in:
		| @@ -19,14 +19,14 @@ tap.test('should create a mailgun account', async () => { | ||||
| tap.test('should create a smartmail', async () => { | ||||
|   testSmartmail = new smartmail.Smartmail({ | ||||
|     body: 'hi there. This is the body.', | ||||
|     from: 'noreply@mail.lossless.com', | ||||
|     subject: 'hi there. This is the subject' | ||||
|     from: 'Lossless GmbH <noreply@mail.lossless.com>', | ||||
|     subject: 'TestMessage from @mojoio/mailgun test' | ||||
|   }); | ||||
|   return testSmartmail; | ||||
| }); | ||||
|  | ||||
| tap.test('should send a smartmail', async () => { | ||||
|   testMailgunAccount.sendSmartMail(testSmartmail, 'sandbox@mail.git.zone'); | ||||
|   await testMailgunAccount.sendSmartMail(testSmartmail, 'Sandbox Team <sandbox@mail.git.zone>'); | ||||
| }); | ||||
|  | ||||
| tap.test('should retrieve a mail using a retrieval url', async () => { | ||||
| @@ -34,7 +34,7 @@ tap.test('should retrieve a mail using a retrieval url', async () => { | ||||
|   if (result) { | ||||
|     result.options.subject = 'hi there. This is a testmail with attachment'; | ||||
|     result.options.from = 'noreply@mail.lossless.com'; | ||||
|     testMailgunAccount.sendSmartMail(result, 'sandbox@mail.git.zone'); | ||||
|     await testMailgunAccount.sendSmartMail(result, 'Sandbox Team <sandbox@mail.git.zone>'); | ||||
|   } | ||||
| }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user