"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@testing-library/react");
require("@testing-library/jest-dom");
const LoadingMessage_1 = __importDefault(require("./LoadingMessage"));
describe('LoadingMessage', () => {
    it('should render loading message', () => {
        const { container } = (0, react_1.render)((0, jsx_runtime_1.jsx)(LoadingMessage_1.default, {}));
        expect(container).toMatchSnapshot();
    });
    it('should render loading message correctly', () => {
        (0, react_1.render)((0, jsx_runtime_1.jsx)(LoadingMessage_1.default, {}));
        expect(react_1.screen.getAllByText('.')).toBeTruthy();
        expect(react_1.screen.getAllByText('.')).toHaveLength(3);
    });
});
