yllieth / angular2-truncate

[Lib] A pipe to truncate strings in Angular2 project
MIT License
4 stars 7 forks source link

Tests #2

Open BojanKogoj opened 7 years ago

BojanKogoj commented 7 years ago

Can it bet set up asap?

I think it crashes for undefined value (or at least in my project), but it would be nice having tests for these cases.

yllieth commented 7 years ago

Thank you for this issue @BojanKogoj

undefined/null values are now handled in 0.1.3 version. You are right, tests would be really helpful, I'm still working on it.

yllieth commented 7 years ago

Reopened as a reminder to setup tests