Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdns committed Apr 19, 2018
1 parent c4e8543 commit 2b24616
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ describe('User service reducer tests', () => {
errorMessage: null
};

function isEmpty(element): boolean {
if (element instanceof Array) {
return element.length === 0;
} else {
return Object.keys(element).length === 0;
}
}

describe('Common', () => {
it('should return the initial state', () => {
expect(userService(undefined, {})).to.eql({ ...initialState });
Expand Down

0 comments on commit 2b24616

Please sign in to comment.