Fix lowest email port

This commit is contained in:
Chocobozzz 2023-05-19 15:33:26 +02:00
parent c0b5a5eb4b
commit 9ba1faa2ee
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -12,7 +12,7 @@ class MockSmtpServer {
collectEmails (emailsCollection: object[]) {
return new Promise<number>((res, rej) => {
const port = parallelTests() ? randomInt(1000, 2000) : 1025
const port = parallelTests() ? randomInt(1025, 2000) : 1025
this.emails = emailsCollection
if (this.started) {