Skip to content

Commit

Permalink
refactor: more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski committed Aug 10, 2022
1 parent ed8f6e4 commit ec11458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test('isEmpty', () => {
expect(isEmpty({})).toEqual(true);
expect(isEmpty({ x: 0 })).toEqual(false);
expect(isEmpty(0)).toEqual(true);
expect(isEmpty(1)).toEqual(false);
expect(isEmpty(NaN)).toEqual(true);
expect(isEmpty([''])).toEqual(false);
});

0 comments on commit ec11458

Please sign in to comment.