test: Add timeout to beforeAll in users suite (#3433)

This commit is contained in:
Iván Ovejero 2022-06-03 17:41:29 +02:00 committed by GitHub
parent 4b8472b7bb
commit 6bccafb355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ beforeAll(async () => {
utils.initTestLogger(); utils.initTestLogger();
isSmtpAvailable = await utils.isTestSmtpServiceAvailable(); isSmtpAvailable = await utils.isTestSmtpServiceAvailable();
}); }, SMTP_TEST_TIMEOUT);
beforeEach(async () => { beforeEach(async () => {
await testDb.truncate( await testDb.truncate(