diff --git a/client/component.test.js b/client/component.test.js new file mode 100644 index 0000000..d1b79fd --- /dev/null +++ b/client/component.test.js @@ -0,0 +1,34 @@ +import { render, screen, describe, test, expect } from '@testing-library/react'; +import Navbar from './Navbar'; +import Footer from './Footer'; +import Admin from './Admin'; +import Register from './Register'; +import Login from './Login'; + +describe('Component Tests', () => { + test('renders Navbar component', () => { + render(); + expect(screen.getByText('Navbar Text')).toBeInTheDocument(); + }); + + test('renders Footer component', () => { + render(