DocHub/frontend/tests/App.test.tsx

9 lines
272 B
TypeScript

import { render, screen } from '@testing-library/react';
import { test, expect } from 'vitest';
import App from '../src/App';
test('renders the DocHub heading', () => {
render(<App />);
expect(screen.getByRole('heading', { name: 'DocHub' })).toBeInTheDocument();
});