Skip to content

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

@realamirhe

Description

@realamirhe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions