Added mock for useKeyboardContext + AndroidSoftInputModes.
💡 Motivation and Context
useKeyboardContext and AndroidSoftInputModes is a part of official API of this library. However they are not exported from the library (so if you use them in unit-test -> this test will not pass and you will have to mock it manually).
So in this PR I'm adding them to mock and also adding a new unit test which assures that new mocks are actually present.
📢 Changelog
JS
added mock for useKeyboardContext;
added mock for AndroidSoftInputModes.
🤔 How Has This Been Tested?
Tested manually via newly added test.
📸 Screenshots (if appropriate):
📝 Checklist
[x] CI successfully passed
[x] I added new mocks and corresponding unit-tests if library API was changed
📜 Description
Added mock for
useKeyboardContext
+AndroidSoftInputModes
.💡 Motivation and Context
useKeyboardContext
andAndroidSoftInputModes
is a part of official API of this library. However they are not exported from the library (so if you use them in unit-test -> this test will not pass and you will have to mock it manually).So in this PR I'm adding them to mock and also adding a new unit test which assures that new mocks are actually present.
📢 Changelog
JS
useKeyboardContext
;AndroidSoftInputModes
.🤔 How Has This Been Tested?
Tested manually via newly added test.
📸 Screenshots (if appropriate):
📝 Checklist