Run lint and prettier
CI Pipeline / test (20) (pull_request) Failing after 8m5s
CI Pipeline / test (18) (pull_request) Failing after 8m36s
CI Pipeline / e2e (chromium) (pull_request) Successful in 2m32s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m40s
CI Pipeline / e2e (firefox) (pull_request) Successful in 5m43s
CI Pipeline / performance (pull_request) Failing after 3m18s
CI Pipeline / visual-regression (pull_request) Failing after 3m20s
CI Pipeline / lint (pull_request) Successful in 1m7s
CI Pipeline / storybook (pull_request) Successful in 1m32s
CI Pipeline / build (pull_request) Successful in 1m22s

This commit is contained in:
adilallo
2025-09-12 14:33:46 -06:00
parent 8daea70cb8
commit 500d2d0965
22 changed files with 237 additions and 234 deletions
+9 -9
View File
@@ -36,7 +36,7 @@ describe("ContentContainer", () => {
"z-20",
"h-full",
"flex",
"flex-col"
"flex-col",
);
});
@@ -59,7 +59,7 @@ describe("ContentContainer", () => {
"font-medium",
"text-[18px]",
"leading-[120%]",
"text-[var(--color-content-inverse-brand-royal)]"
"text-[var(--color-content-inverse-brand-royal)]",
);
});
@@ -73,7 +73,7 @@ describe("ContentContainer", () => {
"font-normal",
"text-[12px]",
"leading-[16px]",
"text-[var(--color-content-inverse-brand-royal)]"
"text-[var(--color-content-inverse-brand-royal)]",
);
});
@@ -108,7 +108,7 @@ describe("ContentContainer", () => {
// Check the content container (parent of icon)
expect(iconContainer.parentElement).toHaveClass(
"gap-[var(--measures-spacing-008)]"
"gap-[var(--measures-spacing-008)]",
);
// Check the text container (parent of title) - it has responsive gap classes
expect(textContainer.parentElement).toHaveClass("flex", "flex-col");
@@ -121,7 +121,7 @@ describe("ContentContainer", () => {
expect(metadataContainer).toHaveClass(
"flex",
"items-center",
"gap-[var(--measures-spacing-008)]"
"gap-[var(--measures-spacing-008)]",
);
});
@@ -134,7 +134,7 @@ describe("ContentContainer", () => {
"font-normal",
"text-[10px]",
"leading-[14px]",
"text-[var(--color-content-inverse-brand-royal)]"
"text-[var(--color-content-inverse-brand-royal)]",
);
const date = screen.getByText("April 2025");
@@ -143,7 +143,7 @@ describe("ContentContainer", () => {
"font-normal",
"text-[10px]",
"leading-[14px]",
"text-[var(--color-content-inverse-brand-royal)]"
"text-[var(--color-content-inverse-brand-royal)]",
);
});
@@ -229,7 +229,7 @@ describe("ContentContainer", () => {
render(<ContentContainer post={longTitlePost} />);
expect(
screen.getByText(/This is a very long article title/)
screen.getByText(/This is a very long article title/),
).toBeInTheDocument();
});
@@ -246,7 +246,7 @@ describe("ContentContainer", () => {
render(<ContentContainer post={longDescPost} />);
expect(
screen.getByText(/This is a very long article description/)
screen.getByText(/This is a very long article description/),
).toBeInTheDocument();
});
});