Skip to content

fix: assertEach does not fail on empty array items#8

Open
luchsamapparat wants to merge 1 commit intotestphony:masterfrom
luchsamapparat:master
Open

fix: assertEach does not fail on empty array items#8
luchsamapparat wants to merge 1 commit intotestphony:masterfrom
luchsamapparat:master

Conversation

@luchsamapparat
Copy link

The issue can be reproduced like this:

const values = ['a', '', 'c'];
I.assertEach(
  values,
  value => !!value,
  'List contains empty value'
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant