Closed ksunilssah closed 4 years ago
I don't think you should test @computed
at all as any kind of state is an implementation detail. Instead, focus on the output produced by your components and test that.
It's generally "problem" with Enzyme which allows it. I would really recommend NOT to. If you cannot change to RTL then I guess I have no other advice.
If you have further questions, please open a new issue with more details
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.
I am wondering how to test @computed with enzyme. I am fairly new to this looking for pointer.