20 lines
401 B
JavaScript
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();
|
|
});
|