🎉 Gitea Mirror: Added

This commit is contained in:
Arunavo Ray
2025-05-18 09:31:23 +05:30
commit 5d40023de0
139 changed files with 22033 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// example.test.ts
import { describe, it, expect } from "vitest";
describe("Example Test", () => {
it("should pass", () => {
expect(true).toBe(true);
});
});

8
src/tests/setup.ts Normal file
View File

@@ -0,0 +1,8 @@
import "@testing-library/jest-dom";
import { expect, afterEach } from "vitest";
import { cleanup } from "@testing-library/react";
// Run cleanup after each test case (e.g. clearing jsdom)
afterEach(() => {
cleanup();
});