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
@@ -26,6 +26,7 @@ describe("AppHeader.svelte", () => {
const { container } = render(AppHeader);
const toggleButton = container.querySelector(".theme-toggle");
if (!toggleButton) throw new Error("Toggle button not found");
themeState.theme = "dark";
await fireEvent.click(toggleButton);