"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var react_2 = require("@testing-library/react");
var EmptySearchResult_1 = require("./EmptySearchResult");
describe('EmptySearchResult tests', function () {
    it('should render correct message if variant prop is not passed', function () {
        (0, react_2.render)(react_1.default.createElement(EmptySearchResult_1.EmptySearchResult, null));
        react_2.screen.getByText('No results found');
    });
    it('should render correct message if variant prop is "noData"', function () {
        (0, react_2.render)(react_1.default.createElement(EmptySearchResult_1.EmptySearchResult, { variant: "noData" }));
        react_2.screen.getByText('No data available');
    });
    it('should render correct message if variant prop is "noResults"', function () {
        (0, react_2.render)(react_1.default.createElement(EmptySearchResult_1.EmptySearchResult, { variant: "noResults" }));
        react_2.screen.getByText('No results found');
    });
});
