Skip to content

Commit

Permalink
fix(providers): sendgrid test
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fernandez authored and scopsy committed Jun 27, 2023
1 parent 7564d12 commit f8716ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions providers/sendgrid/src/lib/sendgrid.provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ test('should trigger sendgrid correctly', async () => {
email: mockNovuMessage.to[0],
},
],
bcc: undefined,
category: undefined,
cc: undefined,
subject: mockNovuMessage.subject,
html: mockNovuMessage.html,
ipPoolName: undefined,
from: { email: mockNovuMessage.from, name: mockConfig.senderName },
substitutions: {},
attachments: [
Expand All @@ -49,6 +53,10 @@ test('should trigger sendgrid correctly', async () => {
],
customArgs: {
id: 'message_id',
novuMessageId: 'message_id',
novuSubscriberId: undefined,
novuTransactionId: undefined,
novuWorkflowIdentifier: undefined,
},
});
});
Expand Down

0 comments on commit f8716ac

Please sign in to comment.