Skip to content

Add Tests#146

Draft
thomasttvo wants to merge 2 commits intomasterfrom
thomas/tests
Draft

Add Tests#146
thomasttvo wants to merge 2 commits intomasterfrom
thomas/tests

Conversation

@thomasttvo
Copy link
Collaborator

@thomasttvo thomasttvo commented Dec 15, 2025

Note

Adds extensive Jest tests for ReactNativeZoomableView, configures Jest setup/coverage, and updates CI to Node 20 with Codecov uploads.

  • Tests:
    • Add comprehensive Jest suites for ReactNativeZoomableView covering gestures, callbacks, rendering, methods, integration, and advanced cases under src/__tests__/ with shared helpers.
    • Enforce coverage via collectCoverageFrom and global coverageThreshold in package.json.
  • Tooling/Config:
    • Add jest.setup.js to mock RN modules and animation frame APIs.
    • Update Jest config: setupFilesAfterEnv, testMatch, coverage collection, and ignore patterns; add ESLint overrides for test files.
  • CI:
    • Replace workflow with CI running on push/PR to master; use Node 20, cache yarn, run TypeScript, ESLint, Jest with coverage, and upload reports via codecov-action@v3.

Written by Cursor Bugbot for commit 3591335. Configure here.

@thomasttvo thomasttvo marked this pull request as draft December 15, 2025 19:08
@thomasttvo thomasttvo added the enhancement New feature or request label Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant