1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Adding link to the real email test.

This commit is contained in:
mike12345567 2021-05-11 12:04:07 +01:00
parent 7736869148
commit 1d643b6315

View file

@ -29,6 +29,7 @@ describe("/api/admin/email", () => {
.expect(200)
expect(res.body.message).toBeDefined()
const testUrl = nodemailer.getTestMessageUrl(res.body)
console.log(`${purpose} URL: ${testUrl}`)
expect(testUrl).toBeDefined()
const response = await fetch(testUrl)
const text = await response.text()