2024_DEV_BUT3/__tests__/App.test.jsx
pro.boooooo 3ac9cb675d $
2024-03-27 01:37:35 +01:00

20 lines
401 B
JavaScript

// src/__ tests __/App.test.tsx
import { expect, test } from "vitest";
import { render } from "@testing-library/react";
import App from "../src/App.jsx";
import { BrowserRouter } from "react-router-dom";
test("demo", () => {
expect(true).toBe(true);
});
test("Renders the main page", () => {
render(
<BrowserRouter>
<App />
</BrowserRouter>,
);
expect(true).toBeTruthy();
});