Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { renderToStaticMarkup } from "react-dom/server";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import IconNotifications from "./IconNotifications";
|
||||
|
||||
describe("IconNotifications", () => {
|
||||
it("forwards className onto a rendered Subframe Feather icon", () => {
|
||||
const markup = renderToStaticMarkup(<IconNotifications className="size-4" />);
|
||||
|
||||
// Migrated to the Subframe @subframe/core Feather icon set via the shared
|
||||
// icons/_feather wrapper, which forwards `className` onto the icon and
|
||||
// renders an <svg> (Feather uses a 24x24 viewBox).
|
||||
expect(markup).toContain("size-4");
|
||||
expect(markup).toContain("<svg");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user