react-hook icon indicating copy to clipboard operation
react-hook copied to clipboard

Where is test coverage?

Open dqunbp opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. I tried to find tests for this awesome hooks but found snapshots only.

Describe the solution you'd like Create test coverage for each hook

dqunbp avatar Feb 11 '22 14:02 dqunbp

What do you mean where is test coverage? Every hook is tested?

jared-paperspace avatar Feb 15 '22 19:02 jared-paperspace

What do you mean where is test coverage? Every hook is tested?

Yes, apparently not all but some. Planning to test all hooks?

dqunbp avatar Feb 15 '22 21:02 dqunbp

Sure, do you have a particular one in mind? I don't know which wouldn't have tests off the top of my head.

jaredLunde avatar Feb 17 '22 02:02 jaredLunde

Sorry for not saying initially, I did not find tests for useSize hook https://github.com/jaredLunde/react-hook/tree/master/packages/size

dqunbp avatar Feb 17 '22 06:02 dqunbp

Thanks, will get around to it. I have tests for this in a different library.

jaredLunde avatar Feb 17 '22 15:02 jaredLunde