import React from 'react';
import { render, screen } from '@testing-library/react';
import { EmptySearchResult } from './EmptySearchResult';
describe('EmptySearchResult tests', function () {
    it('should render correct message if variant prop is not passed', function () {
        render(React.createElement(EmptySearchResult, null));
        screen.getByText('No results found');
    });
    it('should render correct message if variant prop is "noData"', function () {
        render(React.createElement(EmptySearchResult, { variant: "noData" }));
        screen.getByText('No data available');
    });
    it('should render correct message if variant prop is "noResults"', function () {
        render(React.createElement(EmptySearchResult, { variant: "noResults" }));
        screen.getByText('No results found');
    });
});
