Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
leonyangela committed Oct 26, 2022
1 parent 0847dfa commit a3b260d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ghost/core/test/e2e-webhooks/pages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,18 @@ const buildPageSnapshotWithTiers = ({
primary_author: buildAuthorSnapshot(roles),
authors: new Array(1).fill(buildAuthorSnapshot(roles)),
primary_tag: tags ? tagSnapshot : null,
tags: tags ? new Array(1).fill(tagSnapshot) : []
tags: tags ? new Array(1).fill(tagSnapshot) : []
};
};


const buildPreviousPageSnapshotWithTiers = (tiersCount) => {
return {
tiers: new Array(tiersCount).fill(tierSnapshot),
updated_at: anyISODateTime
};
};

const buildPreviousPageSnapshotWithTiersAndTags = ({ tiersCount, tags }) => {
const buildPreviousPageSnapshotWithTiersAndTags = ({tiersCount, tags}) => {
return {
tiers: new Array(tiersCount).fill(tierSnapshot),
tags: tags ? new Array(1).fill(tagSnapshot) : []
Expand Down Expand Up @@ -345,5 +344,4 @@ describe('page.* events', function () {
}
});
});

});

0 comments on commit a3b260d

Please sign in to comment.