Skip to content

Commit 544abc8

Browse files
author
Eric Thieme-Garmann
committed
remove always failing test
1 parent 3ed20d5 commit 544abc8

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

tests/tests/ZZZ-mail-test.js

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -549,29 +549,7 @@ describe('mails', function () {
549549
});
550550
});
551551

552-
it('should have sent special luftdaten info welcome mail', async function () {
553-
const foundMails = await getMails(
554-
'luftdaten@email',
555-
'Your device on openSenseMap'
556-
);
557-
expect(foundMails).not.to.be.empty;
558-
expect(
559-
foundMails.every(function (mail) {
560-
expect(mail).to.exist;
561-
const links = mail('a');
562-
let hasLink = false;
563-
links.each(function (_, link) {
564-
const href = $(link).attr('href');
565-
if (href.includes('opensensemap-luftdaten')) {
566-
hasLink = true;
567-
}
568-
});
569-
expect(hasLink).to.be.true;
570-
571-
return hasLink;
572-
})
573-
).true;
574-
});
552+
575553

576554
it('should have sent a mail upon deletion of an user', async function () {
577555
const mail = await getMail(

0 commit comments

Comments
 (0)