Skip to content

Commit

Permalink
Revert "test: update tests"
Browse files Browse the repository at this point in the history
This reverts commit e989ce5.
  • Loading branch information
njblore committed Oct 10, 2024
1 parent e989ce5 commit ca5171f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -47,7 +47,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -60,7 +60,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image?_a=BAVAfVDW0",
);
});

Expand All @@ -73,7 +73,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1608635688/image?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1608635688/image?_a=BAVAfVDW0",
);
});

Expand All @@ -98,7 +98,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -122,7 +122,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ exports[`OakCloudinaryImage matches snapshot 1`] = `
onError={[Function]}
onLoad={[Function]}
sizes="100vw"
src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0"
srcSet="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_640/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 640w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_750/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 750w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_828/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 828w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1080/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1080w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1200/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1200w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1920/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1920w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_2048/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 2048w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 3840w"
src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0"
srcSet="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_640/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 640w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_750/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 750w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_828/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 828w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1080/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1080w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1200/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1200w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1920/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1920w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_2048/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 2048w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 3840w"
style={
{
"bottom": 0,
Expand Down

0 comments on commit ca5171f

Please sign in to comment.