This commit is contained in:
parent
d09fbe04d1
commit
a0346afed7
|
@ -76,6 +76,7 @@ describe("Receive email", () => {
|
||||||
await webClient.post("", { form: { name: "A newsletter" } })
|
await webClient.post("", { form: { name: "A newsletter" } })
|
||||||
).body.match(/\/feeds\/([a-z0-9]{16})\.xml/)![1];
|
).body.match(/\/feeds\/([a-z0-9]{16})\.xml/)![1];
|
||||||
const feedBefore = (await webClient.get(`feeds/${feedReference}.xml`)).body;
|
const feedBefore = (await webClient.get(`feeds/${feedReference}.xml`)).body;
|
||||||
|
// await new Promise((resolve) => setTimeout(resolve, 50));
|
||||||
await emailClient.sendMail({
|
await emailClient.sendMail({
|
||||||
from: "publisher@example.com",
|
from: "publisher@example.com",
|
||||||
to: `${feedReference}@${emailHost}`,
|
to: `${feedReference}@${emailHost}`,
|
||||||
|
|
Loading…
Reference in New Issue