fix(core): update

This commit is contained in:
2022-08-07 19:07:01 +02:00
parent 030a205085
commit 9350df0565
6 changed files with 169 additions and 297 deletions

View File

@ -13,9 +13,11 @@ let testSmartmail: smartmail.Smartmail<IMailgunMessage>;
tap.test('should create a mailgun account', async () => {
testMailgunAccount = new mailgun.MailgunAccount({
apiToken: testQenv.getEnvVarOnDemand('MAILGUN_API_TOKEN'),
region: 'eu'
region: 'eu',
});
await testMailgunAccount.addSmtpCredentials(testQenv.getEnvVarOnDemand('MAILGUN_SMTP_CREDENTIALS'));
await testMailgunAccount.addSmtpCredentials(
testQenv.getEnvVarOnDemand('MAILGUN_SMTP_CREDENTIALS')
);
expect(testMailgunAccount).toBeInstanceOf(mailgun.MailgunAccount);
});