Skip to content

test: cover keyboard resize with unit test#1418

Merged
kirillzyusko merged 2 commits intomainfrom
test/keyboard-resize-keyboard-aware-scroll-view
Apr 1, 2026
Merged

test: cover keyboard resize with unit test#1418
kirillzyusko merged 2 commits intomainfrom
test/keyboard-resize-keyboard-aware-scroll-view

Conversation

@kirillzyusko
Copy link
Copy Markdown
Owner

@kirillzyusko kirillzyusko commented Mar 31, 2026

📜 Description

Added unit test for keyboard resize flow in KeyboardAwareScrollView to exclude possibility that it's JS code problem.

💡 Motivation and Context

This test boost test coverage by 0.6-1%. This is not a significant boost, but! This scenario covers real user interaction on a screen. So if native events are coming in correct order then JS code will work. It can give us a confidence, that if Android/iOS started to have issues then it's highly likely native code issue.

📢 Changelog

JS

  • cover keyboard resize in KeyboardAwareScrollView

🤔 How Has This Been Tested?

Tested via CI.

📸 Screenshots (if appropriate):

Before After
image image

📝 Checklist

  • CI successfully passed
  • I added new mocks and corresponding unit-tests if library API was changed

@kirillzyusko kirillzyusko self-assigned this Mar 31, 2026
@kirillzyusko kirillzyusko added tests You added or changed unit tests KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component labels Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2026

📊 Package size report

Current size Target Size Difference
310072 bytes 310072 bytes 0 bytes 📉

@kirillzyusko kirillzyusko marked this pull request as ready for review March 31, 2026 15:35
@kirillzyusko kirillzyusko merged commit 75981ee into main Apr 1, 2026
12 of 14 checks passed
@kirillzyusko kirillzyusko deleted the test/keyboard-resize-keyboard-aware-scroll-view branch April 1, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component tests You added or changed unit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant