Adding longer timeout for real email tests.

This commit is contained in:
mike12345567 2021-06-15 13:22:38 +01:00
parent e66bca43d2
commit 386c8890a5
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()