"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");
const _1 = require(".");
const props = {
    purpose: 'main',
    colorType: 'pink',
    left: {
        children: '취소',
        onClick: () => {
            console.log('onClick left');
        },
    },
    right: {
        children: '확인',
        onClick: () => {
            console.log('onClick right');
        },
    },
};
describe('<DoubleButton />', () => {
    it('렌더링 체크', () => {
        (0, react_2.render)(react_1.default.createElement(_1.DoubleButton, Object.assign({}, props)));
        expect(react_2.screen.getByText('확인')).toBeInTheDocument();
    });
});
