Project

General

Profile

Download (473 Bytes) Statistics
| Branch: | Tag: | Revision:
import React from 'react';
import { shallow } from '@theforeman/test';
import ModalProgressBar from '../ModalProgressBar';

describe('ModalProgressBar', () => {
const props = {
show: true,
title: 'Refresh Manifest',
progress: 9,
};
const message = 'Proceed with this action?';

it('renders a modal progress bar', async () => {
const dialog = shallow(<ModalProgressBar {...props} {...{ message }} />);
expect(dialog).toMatchSnapshot();
});
});
    (1-1/1)