fix(core): update
This commit is contained in:
		| @@ -20,7 +20,7 @@ tap.test('should create a smartmail', async () => { | ||||
|   testSmartmail = new smartmail.Smartmail({ | ||||
|     body: 'hi there. This is the body.', | ||||
|     from: 'Lossless GmbH <noreply@mail.lossless.com>', | ||||
|     subject: 'TestMessage from @mojoio/mailgun test' | ||||
|     subject: 'TestMessage from @mojoio/mailgun test', | ||||
|   }); | ||||
|   expect(testSmartmail).to.be.instanceOf(smartmail.Smartmail); | ||||
| }); | ||||
| @@ -33,9 +33,12 @@ tap.test('should send a smartmail with empty body', async () => { | ||||
|   const emptyBodySmartmail = new smartmail.Smartmail<IMailgunMessage>({ | ||||
|     body: '', | ||||
|     from: 'Lossless GmbH <noreply@mail.lossless.one>', | ||||
|     subject: 'A message with no body from @mojoio/mailgun test' | ||||
|     subject: 'A message with no body from @mojoio/mailgun test', | ||||
|   }); | ||||
|   await testMailgunAccount.sendSmartMail(emptyBodySmartmail, 'Sandbox Team <sandbox@mail.git.zone>'); | ||||
|   await testMailgunAccount.sendSmartMail( | ||||
|     emptyBodySmartmail, | ||||
|     'Sandbox Team <sandbox@mail.git.zone>' | ||||
|   ); | ||||
| }); | ||||
|  | ||||
| tap.test('should retrieve a mail using a retrieval url', async () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user