14 lines
277 B
JavaScript
14 lines
277 B
JavaScript
|
import React from 'react';
|
||
|
import { mount } from 'enzyme';
|
||
|
import ModalDialog from '.';
|
||
|
|
||
|
describe('<ModalDialog />', () => {
|
||
|
it('renders without error', () => {
|
||
|
const wrapper = mount(
|
||
|
<ModalDialog visible={false} />
|
||
|
);
|
||
|
|
||
|
expect(wrapper).toExist();
|
||
|
});
|
||
|
});
|