Skip to content

Commit

Permalink
feat: support sendinblue/brevo sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Feb 17, 2024
1 parent cd01c5a commit c2bd9e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/types/decorators/debug.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ const Debug = ( transporter: string ): any => {
}
});
break;
case TRANSPORTER.sendinblue:
Object.assign(output, {
headers: {
'X-Sib-Sandbox': 'drop'
}
});
break;
case TRANSPORTER.sparkpost:
Object.assign(output, {
options: {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/blocks/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { cliamrc, apis, requestPayload } = require(process.cwd() + '/test/utils/f

module.exports = (provider) => {

let Mailer, Container, mockery, nodemailerMock, rewiremock;
let Mailer, Container, mockery, nodemailerMock;

describe(`[${provider}]`, () => {

Expand Down

0 comments on commit c2bd9e2

Please sign in to comment.