Skip to content

Commit

Permalink
test: add missing caption properties in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Mar 22, 2024
1 parent 1144067 commit 9cb5ae7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/helpers-asImagePixelDensitySrcSet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ it("returns an image field pixel-density-based srcset with [1, 2, 3] pxiel densi
url: "https://images.prismic.io/qwerty/image.png?auto=compress%2Cformat",
alt: null,
copyright: null,
caption: null,
dimensions: { width: 400, height: 300 },
};

Expand All @@ -43,6 +44,7 @@ it("supports custom pixel densities", () => {
url: "https://images.prismic.io/qwerty/image.png?auto=compress%2Cformat",
alt: null,
copyright: null,
caption: null,
dimensions: { width: 400, height: 300 },
};

Expand Down Expand Up @@ -71,6 +73,7 @@ it("applies given Imgix URL parameters", () => {
url: "https://images.prismic.io/qwerty/image.png?auto=compress%2Cformat",
alt: null,
copyright: null,
caption: null,
dimensions: { width: 400, height: 300 },
};

Expand Down
2 changes: 2 additions & 0 deletions test/helpers-asImageSrc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ it("returns an image field URL", () => {
url: "https://images.prismic.io/qwerty/image.png?auto=compress%2Cformat",
alt: null,
copyright: null,
caption: null,
dimensions: { width: 400, height: 300 },
};

Expand All @@ -37,6 +38,7 @@ it("applies given Imgix URL parameters", () => {
url: "https://images.prismic.io/qwerty/image.png?auto=compress%2Cformat",
alt: null,
copyright: null,
caption: null,
dimensions: { width: 400, height: 300 },
};

Expand Down

0 comments on commit 9cb5ae7

Please sign in to comment.