]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/contact-form.ts
Try to improve tools doc
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / contact-form.ts
index 8d1270358a2bf012b3efd7d05c977fa24323e028..c0965d9d1bd429e3302a4048a4dd489fd471ed9c 100644 (file)
@@ -83,6 +83,11 @@ describe('Test contact form', function () {
     })
   })
 
+  it('Should not have the manage preferences link in the email', async function () {
+    const email = emails[0]
+    expect(email['text']).to.not.contain('Manage your notification preferences')
+  })
+
   after(async function () {
     MockSmtpServer.Instance.kill()