B2D-Ventures/__tests__/Home.test.tsx
Naytitorn Chaovirachot a0b86ce324 setup jest for nextjs
2024-11-20 15:40:26 +07:00

19 lines
535 B
TypeScript

import { render, screen } from "@testing-library/react";
import Home from "@/app/page";
import '@testing-library/jest-dom'
describe("Test Setup", () => {
it("should be true", () => {
expect(true).toBe(true);
});
});
// describe("Home Component", () => {
// it("renders without crashing", () => {
// render(<Home />);
// // Check if a key element is present, like the page title
// // expect(screen.getByText("Explore the world of ventures")).toBeInTheDocument();
// expect(true).toBe(true);
// });
// });