Adding longer timeout for real email tests.

This commit is contained in:
mike12345567 2021-06-15 13:22:38 +01:00
parent f55e82ec04
commit 290cf98704
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ const { EmailTemplatePurpose } = require("../../../constants")
const nodemailer = require("nodemailer")
const fetch = require("node-fetch")
// need a longer timeout for getting these
jest.setTimeout(30000)
describe("/api/admin/email", () => {
let request = setup.getRequest()
let config = setup.getConfig()