Skip to content

Commit

Permalink
tests: additional empty coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeIbberson committed Jan 31, 2020
1 parent 08dad46 commit 8560812
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/__tests__/parameters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ describe('Parameters', () => {
},
bestFriend: {
name: 'Frank',
email: '',
ages: [],
birthday: {
month: 'April',
},
Expand Down Expand Up @@ -83,6 +85,13 @@ describe('Parameters', () => {

expect(set).not.toHaveBeenCalledWith('age');
expect(set).not.toHaveBeenCalledWith('isFoolish');
expect(set).not.toHaveBeenCalledWith(
'bestFriend.ages',
);

expect(set).not.toHaveBeenCalledWith(
'bestFriend.email',
);

expect(remove).toHaveBeenCalledWith('age');
expect(remove).toHaveBeenCalledWith('isFoolish');
Expand Down

0 comments on commit 8560812

Please sign in to comment.