mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
17 lines
383 B
JavaScript
17 lines
383 B
JavaScript
import React from 'react';
|
|
import { shallow } from 'enzyme';
|
|
import CheckboxCard from '../../src/components/AddRole/CheckboxCard';
|
|
|
|
describe('<CheckboxCard />', () => {
|
|
let wrapper;
|
|
test('initially renders without crashing', () => {
|
|
wrapper = shallow(
|
|
<CheckboxCard
|
|
name="Foobar"
|
|
itemId={5}
|
|
/>
|
|
);
|
|
expect(wrapper.length).toBe(1);
|
|
});
|
|
});
|