Repository navigation
fix: add common error handling for missing or wrong username - #171
Conversation
Berkmann18
left a comment
There was a problem hiding this comment.
Make sure you follow the Angular commit convention as explained in the contribution guidelines.
Okay, thanks. I'll rebase and update once review process is completed. I think it's done now. since my doubt is resolved. Thanks! |
| }) | ||
|
|
||
| test('Throw error when no username is provided', () => { | ||
| expect(getUserInfo).toThrow('No login when adding a contributor. Please specify a username.') |
There was a problem hiding this comment.
@sinchang I did it like this. Re read documentation. Actually expect should call the function not us.
28c933e to
c9a470b
Compare
|
🎉 This PR is included in version 6.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
@all-contributors please add erdahuja for code.
|
What:
issue #6
Why:
How:
Checklist: