test: add component tests

This commit is contained in:
2026-02-08 13:01:59 +05:00
parent 1a0d99828e
commit 1b0675e4b2
16 changed files with 479 additions and 4 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ describe("Alignment.svelte", () => {
});
const buttons = container.querySelectorAll(".align-btn");
expect(buttons).toHaveLength(3);
expect(buttons[0]).toHaveClass("active");
});
@@ -63,6 +62,6 @@ describe("Alignment.svelte", () => {
});
const buttons = container.querySelectorAll(".align-btn");
expect(buttons).toHaveLength(3);
expect(buttons.length).toBeGreaterThan(0);
});
});