let emailPort: number
before(async function () {
- this.timeout(30000)
+ this.timeout(50000)
emailPort = await MockSmtpServer.Instance.collectEmails(emails)
})
it('Should not verify the email with an invalid verification string', async function () {
- await verifyEmail(server.url, userId, verificationString + 'b', 403)
+ await verifyEmail(server.url, userId, verificationString + 'b', false, 403)
})
it('Should verify the email', async function () {