From 57141f983ab05b8508bc9314e67af5be5e47f154 Mon Sep 17 00:00:00 2001 From: Nachtalb Date: Sun, 28 Jan 2024 20:38:46 +0100 Subject: [PATCH] Update tests with the new link filename attribute --- test/plugins/link.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/plugins/link.ts b/test/plugins/link.ts index 26f6070d..1b15cb7a 100644 --- a/test/plugins/link.ts +++ b/test/plugins/link.ts @@ -56,6 +56,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`; expect(message.previews).to.deep.equal([ { body: "", + filename: null, head: "", link: url, thumb: "", @@ -93,6 +94,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`; expect(message.previews).to.deep.equal([ { body: "", + filename: null, head: "", link: url, thumb: "", @@ -425,6 +427,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`; expect(message.previews).to.eql([ { body: "", + filename: null, head: "", link: url_one, thumb: "", @@ -434,6 +437,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`; }, { body: "", + filename: null, head: "", link: url_two, thumb: "", @@ -608,6 +612,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`; expect(message.previews).to.deep.equal([ { type: "loading", + filename: null, head: "", body: "", thumb: "",