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
+2 -4
View File
@@ -1,6 +1,6 @@
import Preview from "$components/panel/Preview.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();
@@ -29,6 +29,4 @@ describe("Preview.svelte", () => {
const stage = container.querySelector("canvas");
expect(stage).toBeInTheDocument();
});
});