Fix more tests.

This commit is contained in:
Sam Rose 2025-02-13 18:25:55 +00:00
parent a684bdf4f2
commit 5d7c8cd0f1
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ describe("/api/global/email", () => {
) { ) {
let response, text let response, text
try { try {
await helpers.withTimeout(20000, config.saveEtherealSmtpConfig()) await helpers.withTimeout(20000, () => config.saveEtherealSmtpConfig())
await helpers.withTimeout(20000, config.saveSettingsConfig()) await helpers.withTimeout(20000, () => config.saveSettingsConfig())
let res let res
if (attachments) { if (attachments) {
res = await config.api.emails res = await config.api.emails