Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,26 @@
import "@testing-library/jest-dom";
import * as React from "react";
import { describe, it } from "vitest";
import { Alert, AlertDescription, AlertTitle } from "./alert";
import { expectNoAxeViolations } from "@toolctrl/ui-app/test-setup/axe";
describe("Alert axe-core a11y", () => {
it("info alert has no axe violations", async () => {
await expectNoAxeViolations(
<Alert>
<AlertTitle>Heads up</AlertTitle>
<AlertDescription>Your subscription renews tomorrow.</AlertDescription>
</Alert>,
);
});
it("destructive alert with role=alert has no axe violations", async () => {
await expectNoAxeViolations(
<Alert variant="destructive" role="alert">
<AlertTitle>Error</AlertTitle>
<AlertDescription>Could not save changes.</AlertDescription>
</Alert>,
);
});
});