text: import React from 'react';
  import { render } from '@testing-library/react';
  import MockCard from './MockCard';
  import { BrowserRouter } from 'react-router-dom';
  
  describe('MockCard', () => {
  	it('should render mock card component', async () => {
  		const tree = await render(<MockCard />, { wrapper: BrowserRouter });
  
  		const { container, getByTestId } = tree;
  
  		expect(getByTestId('card-title')).toBeInTheDocument();
  		expect(getByTestId('card-subtitle')).toBeInTheDocument();
  		expect(getByTestId('card-badge')).toBeInTheDocument();
  		expect(getByTestId('card-link')).toBeInTheDocument();
  
  		expect(container).toMatchSnapshot();
  	});
  });
  