import React from 'react';
import { cleanup } from '@testing-library/react';
import { render } from '../../utils/theme-render-wrapper';
import { TableProgressbar } from './table-progressbar';

afterEach(cleanup);

describe('<TableProgressbar />', () => {
  it(`Should render TableProgressbar`, () => {
    const { queryByTestId } = render(<TableProgressbar current={1} total={3} />);
    const elm = queryByTestId('tableProgressbarRoot');
    expect(elm).toBeTruthy();
  });
});
