diff --git a/src/__tests__/pages/HomePage.test.tsx b/src/__tests__/pages/HomePage.test.tsx index 77ffd10..0d6486d 100644 --- a/src/__tests__/pages/HomePage.test.tsx +++ b/src/__tests__/pages/HomePage.test.tsx @@ -5,9 +5,8 @@ import HomePage from '@/app/page'; describe('Homepage', () => { it('renders the Components', () => { render(); + const email = screen.getByText(/nick@novana.nl/i); - const heading = screen.getByText(/Novana/i); - - expect(heading).toBeInTheDocument(); + expect(email).toBeInTheDocument(); }); }); diff --git a/src/app/page.tsx b/src/app/page.tsx index c1ced42..f85dc63 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -88,10 +88,6 @@ export default function HomePage() { -
- - nick@novana.nl -