Adding link to the real email test.
This commit is contained in:
parent
7d78d7b15a
commit
339554b163
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue