"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_2 = 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_2.render)(react_1.default.createElement(LoadingMessage_1.default, null));
        expect(container).toMatchSnapshot();
    });
    it('should render loading message correctly', () => {
        (0, react_2.render)(react_1.default.createElement(LoadingMessage_1.default, null));
        expect(react_2.screen.getAllByText('.')).toBeTruthy();
        expect(react_2.screen.getAllByText('.')).toHaveLength(3);
    });
});
