Update tests with the new link filename attribute

This commit is contained in:
Nachtalb 2024-01-28 20:38:46 +01:00
parent bfca8f6237
commit 57141f983a
No known key found for this signature in database
GPG key ID: FB8B6CA09AE73612

View file

@ -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: "",