We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29be409 commit 2c103c1Copy full SHA for 2c103c1
frontend/__tests__/components/Button.spec.tsx
@@ -59,8 +59,8 @@ describe("Button component", () => {
59
60
const icon = container.querySelector("i");
61
expect(icon).toBeTruthy();
62
- expect(icon?.className).toContain("icon");
63
- expect(icon?.className).toContain("fa-test");
+ expect(icon?.className).toContain("fas");
+ expect(icon?.className).toContain("fa-keyboard");
64
});
65
66
it("applies fa-fw class when text is missing", () => {
@@ -71,6 +71,7 @@ describe("Button component", () => {
71
}}
72
fa={{
73
icon: "keyboard",
74
+ fixedWidth: true,
75
76
/>
77
));
0 commit comments