test: refactor tests, format files

This commit is contained in:
2026-02-08 20:45:16 +05:00
parent e838916d91
commit 59745eac4f
35 changed files with 46 additions and 119 deletions
@@ -1,6 +1,6 @@
import TextInlineEdit from "$components/text/TextInlineEdit.svelte";
import { render, cleanup } from "@testing-library/svelte";
import { describe, expect, it, afterEach } from "vitest";
import { cleanup, render } from "@testing-library/svelte";
import { afterEach, describe, expect, it } from "vitest";
afterEach(() => {
cleanup();
@@ -21,8 +21,6 @@ describe("TextInlineEdit.svelte", () => {
expect(input).toHaveValue("Test text");
});
it("should render with empty text", () => {
render(TextInlineEdit, {
props: {