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