fix(board): harden selection and creation flows

This commit is contained in:
Thomas Camlong committed 2026-08-21 02:55:47 +02:00
1 parent 71d307a9cd
commit 50bd56edb9
12 files changed
+119 -26

No files matched your search

@@ -201,7 +201,7 @@ describe("SelectableCard", () => {
expect(host.textContent).not.toContain("This should not appear");
});
it("renders description with fallback when description is empty string", async () => {
it("renders an empty description without fallback copy", async () => {
await act(async () =>
root.render(
<MantineProvider>
@@ -210,7 +210,8 @@ describe("SelectableCard", () => {
),
);
expect(host.textContent).toContain("No description provided");
expect(host.textContent).toContain("No Desc Item");
expect(host.textContent).not.toContain("No description provided");
});
it("omits header, body, or footer when corresponding props are omitted", async () => {