mirror of
https://github.com/towfiqi/serpbear
synced 2025-06-26 18:15:54 +00:00
12 lines
363 B
TypeScript
12 lines
363 B
TypeScript
import { render, screen } from '@testing-library/react';
|
|
import TopBar from '../../components/common/TopBar';
|
|
|
|
describe('TopBar Component', () => {
|
|
it('renders without crashing', async () => {
|
|
render(<TopBar showSettings={() => console.log() } />);
|
|
expect(
|
|
await screen.findByText('SerpBear'),
|
|
).toBeInTheDocument();
|
|
});
|
|
});
|