https://cypress.io logo
Feel like I'm posting a lot of questions recently,...
# general-chat
a
Feel like I'm posting a lot of questions recently, but I stumbled upon an issue where I have a component that extends from a base directive. The component uses OnPush as a changedetection strategy and when I run my component test, I get a null ref error when it tries to execute
this._changeDetectorRef.markForCheck()

https://cdn.discordapp.com/attachments/763114122065739818/1098245255482048572/image.png▾

https://cdn.discordapp.com/attachments/763114122065739818/1098245255746306048/image.png▾