Add and fixup invite link related tests
This commit is contained in:
@@ -208,5 +208,9 @@ function clearMailQueue() {
|
||||
async function checkMails(number) {
|
||||
await delay(1000);
|
||||
expect(mailer._mailQueue.length).to.equal(number);
|
||||
const emails = mailer._mailQueue;
|
||||
clearMailQueue();
|
||||
|
||||
// return for further investigation
|
||||
return emails;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user