lighthouse fixes
This commit is contained in:
@@ -19,7 +19,7 @@ describe("card layout", () => {
|
||||
});
|
||||
|
||||
it("defines standardized card CSS (content band + footer bar)", async () => {
|
||||
const css = await read("public/styles/global.css");
|
||||
const css = await read("src/styles/global.css");
|
||||
|
||||
expect(css).toContain(".card-content");
|
||||
expect(css).toContain("justify-content: space-between");
|
||||
|
||||
@@ -26,7 +26,7 @@ describe("wcag + responsive shell", () => {
|
||||
});
|
||||
|
||||
it("defines baseline focus-visible, reduced-motion, and oversized background layer", async () => {
|
||||
const css = await read("public/styles/global.css");
|
||||
const css = await read("src/styles/global.css");
|
||||
expect(css).toContain("a:focus-visible");
|
||||
expect(css).toContain("@media (prefers-reduced-motion: reduce)");
|
||||
expect(css).toContain("body::before");
|
||||
@@ -34,4 +34,3 @@ describe("wcag + responsive shell", () => {
|
||||
expect(css).toContain(".nav[data-open=\"true\"]");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user