Fix more tests.
This commit is contained in:
parent
a684bdf4f2
commit
5d7c8cd0f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue