GSTJ / react-native-magic-modal

πŸ¦„ A modal library that can be called imperatively from anywhere!
https://github.com/GSTJ/react-native-magic-modal
MIT License
216 stars 8 forks source link

feat: expose modalRefForTests #14

Closed GSTJ closed 1 year ago

GSTJ commented 1 year ago

Note: erase all explanatory text from this template, replacing it with your words/images.

πŸ“ DESCRIPTION:

Briefly explain the solution (this will make it easier for the reviewer to confirm that the code does what it should), for example:

πŸ–Ό picture: PRINTS & GIFS:

Include the best screenshots or gifs of the feature if applicable.

(on Macs, ⌘ + ⇧ + 5 is your friend as you can take multiple screenshots/recordings from a fixed window)

πŸ’› MY AMAZING PR CONTAINS:

Does this PR change only one thing (And only what is necessary for it)?
Awesome tests or e2e (avoid shallow rendering)
github-actions[bot] commented 1 year ago

Coverage report

Total coverage

Status Category Percentage Covered / Total
🟒 Statements 100% 35/35
🟒 Branches 100% 5/5
🟒 Functions 92.31% 12/13
🟒 Lines 100% 69/69

Status of coverage: 🟒 - ok, 🟑 - slightly more than threshold, πŸ”΄ - under the threshold

Report generated by πŸ§ͺjest coverage report action from b3a692e14c8bb6a8177a059591f7240050ed5c43