Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is test coverage? #174

Open
dqunbp opened this issue Feb 11, 2022 · 5 comments
Open

Where is test coverage? #174

dqunbp opened this issue Feb 11, 2022 · 5 comments

Comments

@dqunbp
Copy link

dqunbp commented Feb 11, 2022

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

@jared-paperspace
Copy link

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

@dqunbp
Copy link
Author

dqunbp commented Feb 15, 2022

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

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

@jaredLunde
Copy link
Owner

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

@dqunbp
Copy link
Author

dqunbp commented Feb 17, 2022

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

@jaredLunde
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants