This library is used to display a user badge.
Given some inputs it will compute either user initials or display the picture url given in params.
To visualize all the stories created for this lib run
nx run shared-ui-kit-user-badge:storybook
You can use storybook to develop the lib, any change made to the code will be reflected in the stories
Run nx test shared-ui-kit-user-badge
to execute the unit tests.
Run nx e2e shared-ui-kit-user-badge-e2e
The e2e tests are coupled with storybook
, stories are created
for this component, then these stories are used to perform some browser
based tests.