"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("..");
const index_1 = require("../../../index");
describe('<IconButton />', () => {
    it('matches a snapshot', () => {
        const { container: { children: [iconButtonEl], }, } = helpers_1.render(react_1.default.createElement(__1.IconButton, { Asset: index_1.icons.SvgPlus }));
        expect(iconButtonEl).toMatchSnapshot();
    });
    it('renders and svg inside', () => {
        const { container: { children: [iconButtonEl], }, } = helpers_1.render(react_1.default.createElement(__1.IconButton, { Asset: index_1.icons.SvgPlus }));
        expect(iconButtonEl.querySelector('svg')).toBeTruthy();
    });
});
//# sourceMappingURL=IconButton.test.js.map