Skip to content

Commit

Permalink
Disable email service logs during e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonynsimon committed Jan 20, 2020
1 parent dd60495 commit fb60c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/services/mail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class MailService {
},
};
this.transporter = options.host ? createTransport(options) : undefined;
if (!this.transporter) {
if (!this.transporter && !(config.env === 'e2e')) {
console.log(
'No email transport configured. ' +
'Please check the documentation on how to configure ' +
Expand Down

0 comments on commit fb60c00

Please sign in to comment.