WellNuo/web/__tests__/page.test.tsx
Sergei 72661f6f06 Initialize Next.js web application with Tailwind CSS
- Set up Next.js 16 with TypeScript and App Router
- Configure Tailwind CSS for styling
- Add ESLint and Prettier for code quality
- Set up Jest and React Testing Library
- Create basic project structure (app/, components/, lib/)
- Add initial home page with WellNuo branding
- Configure TypeScript with strict mode
- All tests passing and linting clean

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-31 17:05:04 -08:00

17 lines
506 B
TypeScript

import { render, screen } from '@testing-library/react';
import Home from '@/app/page';
describe('Home Page', () => {
it('renders the main heading', () => {
render(<Home />);
const heading = screen.getByRole('heading', { name: /WellNuo Web/i });
expect(heading).toBeInTheDocument();
});
it('renders the description text', () => {
render(<Home />);
const description = screen.getByText(/Health monitoring for loved ones/i);
expect(description).toBeInTheDocument();
});
});