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