"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 helpers_1 = require("../../../testUtils/helpers");
const __1 = require("..");
describe('<Text/>', () => {
    it('Renders without crashing', () => {
        const { container } = helpers_1.render(react_1.default.createElement(__1.Text, null, "This is a test text"));
        expect(container).toBeDefined();
    });
    it('Renders the text correctly', () => {
        const { getByText } = helpers_1.render(react_1.default.createElement(__1.Text, null, "This is a test text"));
        expect(getByText('This is a test text')).toBeDefined();
    });
    it('matches a snapshot', () => {
        const { container } = helpers_1.render(react_1.default.createElement(__1.Text, { variant: "b2m", color: "gray.1" }, "Text element content"));
        expect(container.firstChild).toMatchSnapshot();
    });
});
//# sourceMappingURL=Text.test.js.map