Fix failing performance and unit tests
CI Pipeline / test (18) (pull_request) Failing after 3m29s
CI Pipeline / test (20) (pull_request) Failing after 4m23s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m0s
CI Pipeline / e2e (firefox) (pull_request) Successful in 5m45s
CI Pipeline / e2e (webkit) (pull_request) Successful in 4m22s
CI Pipeline / performance (pull_request) Successful in 4m0s
CI Pipeline / storybook (pull_request) Successful in 1m20s
CI Pipeline / visual-regression (pull_request) Successful in 6m7s
CI Pipeline / build (pull_request) Successful in 1m33s

This commit is contained in:
adilallo
2026-01-26 14:07:08 -07:00
parent bef13261b3
commit 1bb4627ab2
5 changed files with 84 additions and 15 deletions
+2 -2
View File
@@ -227,11 +227,11 @@ describe("RelatedArticles", () => {
});
it("applies correct responsive behavior for desktop", () => {
// Set desktop width
// Set desktop width (must be > 1024px to be desktop, since lg breakpoint is 1024px)
Object.defineProperty(window, "innerWidth", {
writable: true,
configurable: true,
value: 1024,
value: 1200,
});
render(