Update Lookup chip test

This commit is contained in:
Marliana Lara 2019-02-25 11:42:18 -05:00
parent ffefba9bf9
commit a7b51c526a
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE

View File

@ -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 = [];