mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Update Lookup chip test
This commit is contained in:
@@ -128,11 +128,9 @@ describe('<Lookup />', () => {
|
|||||||
sortedColumnKey="name"
|
sortedColumnKey="name"
|
||||||
/>
|
/>
|
||||||
</I18nProvider>
|
</I18nProvider>
|
||||||
);
|
).find('Lookup');
|
||||||
const chip = wrapper.find('li.pf-c-chip');
|
const chip = wrapper.find('li.pf-c-chip');
|
||||||
const overflowChip = wrapper.find('.pf-c-chip.pf-m-overflow');
|
expect(chip).toHaveLength(2);
|
||||||
expect(chip).toHaveLength(1);
|
|
||||||
expect(overflowChip).toHaveLength(1);
|
|
||||||
});
|
});
|
||||||
test('toggleSelected successfully adds/removes row from lookupSelectedItems state', () => {
|
test('toggleSelected successfully adds/removes row from lookupSelectedItems state', () => {
|
||||||
mockData = [];
|
mockData = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user