Skip to content

Commit

Permalink
Update tests with the new link filename attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Nachtalb committed Jan 28, 2024
1 parent bfca8f6 commit 57141f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/plugins/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: "",
Expand Down Expand Up @@ -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: "",
Expand Down Expand Up @@ -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: "",
Expand All @@ -434,6 +437,7 @@ Vivamus bibendum vulputate tincidunt. Sed vitae ligula felis.`;
},
{
body: "",
filename: null,
head: "",
link: url_two,
thumb: "",
Expand Down Expand Up @@ -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: "",
Expand Down

0 comments on commit 57141f9

Please sign in to comment.