import Asciidoc from 'components/common/AsciiDoc';

const setup = (props) => shallow(<Asciidoc { ...props }/>);
const text = `bold *constrained* & **un**constrained

italic _constrained_ & __un__constrained

bold italic *_constrained_* & **__un__**constrained`;

describe('COMPONENTS - <Asciidoc>', () => {
  test('render Asciidoc', () => {
    const component = setup({ text });

    expect(component).toMatchSnapshot();
  });
});

import Asciidoc from 'components/common/Asciidoc';

const setup = (props) => shallow(<Asciidoc { ...props }/>);
const text = `bold *constrained* & **un**constrained

italic _constrained_ & __un__constrained

bold italic *_constrained_* & **__un__**constrained`;

describe('COMPONENTS - <Asciidoc>', () => {
  test('render Asciidoc', () => {
    const component = setup({ text });

    expect(component).toMatchSnapshot();
  });
});

TEST (asciidoc): fix bad import
TEST (asciidoc): fix bad import
