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

Add more act-async tests for life-cycle testing #11

Open
9 tasks
realamirhe opened this issue May 4, 2022 · 0 comments
Open
9 tasks

Add more act-async tests for life-cycle testing #11

realamirhe opened this issue May 4, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@realamirhe
Copy link
Owner

realamirhe commented May 4, 2022

Enhance jest test cases

test functionality of re-render was not possible due to the limitation of timeouts

  • act for deps
  • deps is should be tested
  • test with act functionality
  • wrapping the latest useState test in the describe breaking everything
  • use state order change breaks test 🥹?
  • all API is called twice but the useRef is called with the first call and its default value only
  • add circle ci
  • config workflows to test cjs and umd in production
  • config workflows to test react 16.8 and react 17
@realamirhe realamirhe added enhancement New feature or request help wanted Extra attention is needed labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant