Skip to content

Conversation

@Winner95
Copy link
Owner

Summary

This PR improves test coverage for React.forwardRef(...) components and introduces a basic CI workflow so tests run automatically on pushes and pull requests.

Changes

  • Updated Jest tests to better cover React.forwardRef(...) components and guard against regressions.
  • Added a GitHub Actions workflow to run the test suite on Node.js 18 and 20 for every push and PR.
  • Applied some light linting to index.js to keep the file style consistent.

Notes

  • No runtime behaviour of the library has changed; this PR only affects tests, automation, and formatting.
  • CI uses yarn install --frozen-lockfile to ensure dependency consistency with the existing yarn.lock.

Signed-off-by: Winner95 <Winner95@users.noreply.github.com>
Signed-off-by: Winner95 <Winner95@users.noreply.github.com>
Signed-off-by: Winner95 <Winner95@users.noreply.github.com>
@Winner95 Winner95 merged commit 16173f8 into master Nov 25, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants