chore: update eslint config, update tests, constants

This commit is contained in:
2026-02-17 17:40:38 +05:00
parent c6d16ca9c2
commit 185e80ae0e
21 changed files with 224 additions and 112 deletions
+3 -1
View File
@@ -24,11 +24,13 @@ describe("Badge.svelte", () => {
});
it("should render with empty string", () => {
render(Badge, {
const { container } = render(Badge, {
props: {
text: "",
},
});
expect(container.textContent?.trim()).toBe("");
});
it("should render with zero", () => {