test: fix tests and typescript typechecks

This commit is contained in:
2026-02-08 14:02:52 +05:00
parent 1b0675e4b2
commit 81771970c7
16 changed files with 56 additions and 293 deletions
+1
View File
@@ -38,6 +38,7 @@ describe("Button.svelte", () => {
});
const button = container.querySelector("button");
if (!button) throw new Error("Button element not found");
await fireEvent.click(button);
expect(onclick).toHaveBeenCalledTimes(1);