import React from 'react';
import {render} from '../../test-utils';
import {ListRow} from '../index';
import {Size} from '../../types';
import {SystemIcons} from '../../icons';

describe('<ListRow />', () => {
  it('Renders', async () => {
    const {getByText} = render(
      <ListRow
        icon={<SystemIcons.Institute/>}
        mainText={'Laerdal Medical AS'}
        size={Size.Small}
        disabled={false}/>,
    );
    expect(getByText('Laerdal Medical AS')).toBeDefined();
  });
});
