I want to make testeable component but I need to use the window or document instance.
Does angular 2 provides a way to inject this kind of html specific objects in order to allow the mocking during testing?
I want to make testeable component but I need to use the window or document instance.
Does angular 2 provides a way to inject this kind of html specific objects in order to allow the mocking during testing?