Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import "@testing-library/jest-dom";
|
||||
import * as React from "react";
|
||||
import { describe, it } from "vitest";
|
||||
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./card";
|
||||
import { expectNoAxeViolations } from "@toolctrl/ui-app/test-setup/axe";
|
||||
|
||||
describe("Card axe-core a11y", () => {
|
||||
it("Card with header + content has no axe violations", async () => {
|
||||
await expectNoAxeViolations(
|
||||
<main>
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>Plan summary</CardTitle>
|
||||
<CardDescription>Includes seats, billing cycle and renewal date.</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p>Pro plan, billed monthly.</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</main>,
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user