From 6e9d6a4dba88b9168e0853e3bd9ffc6b40da4878 Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Tue, 15 May 2018 16:41:00 +0100
Subject: [PATCH] General cleanup

---
 test/test_matrixeventprocessor.ts | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/test/test_matrixeventprocessor.ts b/test/test_matrixeventprocessor.ts
index 7565571..449e75a 100644
--- a/test/test_matrixeventprocessor.ts
+++ b/test/test_matrixeventprocessor.ts
@@ -148,7 +148,7 @@ describe("MatrixEventProcessor", () => {
             Chai.assert.equal(evt.author.name, "@testwithalottosayaboutitselftha");
         });
 
-        it("Should should contain the users avatar if it exists", () => {
+        it("Should contain the users avatar if it exists.", () => {
             const processor = createMatrixEventProcessor();
             const evt = processor.EventToEmbed({
                 sender: "@test:localhost",
@@ -308,14 +308,6 @@ describe("MatrixEventProcessor", () => {
                 },
             }, mxClient)).to.eventually.eq("");
         });
-        it("message without an info", () => {
-            const processor = createMatrixEventProcessor();
-            return expect(processor.HandleAttachment({
-                content: {
-                    msgtype: "m.video",
-                },
-            }, mxClient)).to.eventually.eq("");
-        });
         it("message with a large info.size", () => {
             const LARGE_FILE = 8000000;
             const processor = createMatrixEventProcessor();
-- 
GitLab