Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroTorresSicilia committed Jun 21, 2020
1 parent acdb2fb commit 3933f1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/MultiSelect/helpers/__test__/hasChips.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import hasChips from '../hasChips';
describe('hasChips', () => {
it('should return true', () => {
const values = [{ label: 'Label', name: 'Name' }, [{ label: 'Label', name: 'Name' }]];
values.forEach(val => {
expect(hasChips(val)).toBe(true);
values.forEach(value => {
expect(hasChips(value)).toBe(true);
});
});

it('should return false', () => {
const values = [undefined, null, 0, false, true, []];
values.forEach((val, index) => {
expect(hasChips(val)).toBe(false);
values.forEach(value => {
expect(hasChips(value)).toBe(false);
});
});
});

0 comments on commit 3933f1d

Please sign in to comment.