Cover the component with unit test
HaithemMosbahi opened this issue · 4 comments
HaithemMosbahi commented
In order to improve the component code and to reduce potential bugs and also to make it easy to maintain we need to cover the ngx-avatar component with unit test.
HaithemMosbahi commented
I'm working on this one, I started by refactoring / covering the avatar.service. Here's the branch
HaithemMosbahi commented
should be closed when this branch gets merged #46
odahcam commented
I think it's ready, isn't it?
HaithemMosbahi commented
I still need to cover some scenarios in the avatar.component.spec.ts
The goal is to cover the maximum features to avoid bugs / regression. I think after that we will be able to confidently auto publish to npm when we merge to master