As in the topic I would like to test react component methods that have HOC.
Usually I did it this way:
describe("component method", () =&g