So, I'm trying to test my component. In my component there a function to measure from reference of View. when I debug, the ref value is exists. but the measure method is undefined.
this is the screenshot of the testing.
I need help how to mock the .measure or other function from component reference