update vitest setup

This commit is contained in:
e560248
2025-04-08 08:55:21 +02:00
parent cd4f632c85
commit b7ce3dbc21
4 changed files with 1664 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
import { render, screen } from "@testing-library/react";
import Footer from "./Footer";
import { describe, it, expect } from "vitest";
describe("Footer Component", () => {
it("should render the footer with correct content", () => {
render(<Footer />);
expect(screen.getByText(/© 2025 Your Company/i)).toBeDefined();
});
});