mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Add roles modal to org access list
This commit is contained in:
17
__tests__/components/CheckboxCard.test.jsx
Normal file
17
__tests__/components/CheckboxCard.test.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import { mount } from 'enzyme';
|
||||
import CheckboxCard from '../../src/components/AddRole/CheckboxCard';
|
||||
|
||||
describe('<CheckboxCard />', () => {
|
||||
let wrapper;
|
||||
test('initially renders without crashing', () => {
|
||||
wrapper = mount(
|
||||
<CheckboxCard
|
||||
name="Foobar"
|
||||
itemId={5}
|
||||
/>
|
||||
);
|
||||
expect(wrapper.length).toBe(1);
|
||||
wrapper.unmount();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user