test: Mock mailer service (#3711)

* 🧪 Mock mailer service

* 🔥 Remove unneeded imports
This commit is contained in:
Iván Ovejero
2022-07-14 22:07:07 +02:00
committed by GitHub
parent c9b7b6d30f
commit eefd594074
5 changed files with 96 additions and 187 deletions

View File

@@ -71,11 +71,6 @@ export const BOOTSTRAP_POSTGRES_CONNECTION_NAME: Readonly<string> = 'n8n_bs_post
*/
export const BOOTSTRAP_MYSQL_CONNECTION_NAME: Readonly<string> = 'n8n_bs_mysql';
/**
* Timeout (in milliseconds) to account for fake SMTP service being slow to respond.
*/
export const SMTP_TEST_TIMEOUT = 30_000;
/**
* Timeout (in milliseconds) to account for DB being slow to initialize.
*/