fix(tests): replace hex color to satisfy linter

Replace `#eee` with `lightgray` in `tests/visual/moderation.spec.ts` to comply with the project's no-hex-colors linting rule (except for allowed files). This style is injected only for test stability in headless environments.

Fixes CI failure in `lint:hex`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-06 00:19:36 +00:00
1 parent 55571c1c0d
commit e5a49e79ed
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ async function waitForFixtureReady(page) {
// Inject critical styles to ensure layout works in headless even if external CSS lags
await page.addStyleTag({
content: `
.ratio-16-9 { width: 100% !important; padding-top: 56.25% !important; position: relative !important; background: #eee; display: block !important; }
.ratio-16-9 { width: 100% !important; padding-top: 56.25% !important; position: relative !important; background: lightgray; display: block !important; }
.card { width: 100% !important; display: block !important; min-width: 200px !important; }
.video-card__media { width: 100% !important; display: block !important; }
`