Skip to content

Commit

Permalink
fix (es-lint issues): prop validations fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Jan 5, 2018
1 parent 4713e56 commit a1ae251
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const SideNav = ({


SideNav.propTypes = {
user: PropTypes.object,
props: PropTypes.object
};

Expand Down
7 changes: 5 additions & 2 deletions server/src/test/model.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ describe('<Unit Test>', () => {
})
.then(() => {
})
.catch((error) =>
{ expect(error.message).to.equal('Passwords do not match'); });
.catch((error) => {
expect(error.message)
.to
.equal('Passwords do not match');
});
done();
}
);
Expand Down

0 comments on commit a1ae251

Please sign in to comment.