import React from 'react';
import * as renderer from 'react-test-renderer';
import { Button } from '..';
import { IconVideo } from '../../../icons/video';
import { IconCircleMenu } from '../../../icons/circle-menu';
const CHILDREN = 'Рыбный текст кнопки';
describe('Button', () => {
test('Default', () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
test('isLoader', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
test('isCompact', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Icon + Text', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Icon', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Multi icon', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
test('SVG', () => {
const tree = renderer.create(
).toJSON();
expect(tree).toMatchSnapshot();
});
});