1 min readJul 6, 2018
Please correct me if I am wrong, but you mean to say that we can’t unit test the features of component which has the “@Input” fields, rather we need to test it via host components if we are using those fields in “ngOnInit()” ?
Please correct me if I am wrong, but you mean to say that we can’t unit test the features of component which has the “@Input” fields, rather we need to test it via host components if we are using those fields in “ngOnInit()” ?
is a Fullstack Tech enthusiast. Find him on https://shashankvivek.github.io/