Unit Testing NgbModal Modal Service
![](https://www.darchuk.net/wp-content/uploads/2019/01/test-214185_640.jpg)
In the last blog post I showed how you could extend NgbModal to make a Modal Service, letting you re-use modal dialogs easily from within your Angular components. Even though its not always that much fun, I like to try and keep testability in mind when writing code… and, I’ll admit it, sometimes I gloss … [Read more…]