test: implement tests

This commit is contained in:
2026-02-05 04:09:47 +05:00
parent 150975faf9
commit 0c3c97914e
10 changed files with 4395 additions and 1957 deletions
+19
View File
@@ -0,0 +1,19 @@
// Use global test functions with globals enabled in config
import { PanelStorage } from "$lib/utils/panelStorage";
let storage: any;
beforeEach(() => {
storage = new PanelStorage();
});
afterEach(() => {
vi.restoreAllMocks();
});
describe("PanelStorage", () => {
it("should create storage instance", () => {
expect(storage).toBeInstanceOf(PanelStorage);
});
});