From 290cf987046266016c93b53ece0db49189ab5720 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 15 Jun 2021 13:22:38 +0100 Subject: [PATCH] Adding longer timeout for real email tests. --- packages/worker/src/api/routes/tests/realEmail.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/worker/src/api/routes/tests/realEmail.spec.js b/packages/worker/src/api/routes/tests/realEmail.spec.js index e87c5d5bf5..8c23141a53 100644 --- a/packages/worker/src/api/routes/tests/realEmail.spec.js +++ b/packages/worker/src/api/routes/tests/realEmail.spec.js @@ -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()