You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PASS src/checkbox/__tests__/CheckBox.js
● Console
console.error node_modules/react/node_modules/prop-types/checkPropTypes.js:19
Warning: Failed prop type: Invalid prop `accessibilityRole` of value `checkbox` supplied to `TouchableOpacity`, expected one of ["none","button","link","search","image","keyboardkey","text","adjustable","imagebutton","header","summary"].
in TouchableOpacity
console.error node_modules/react/node_modules/prop-types/checkPropTypes.js:19
Warning: Failed prop type: Invalid prop `accessibilityStates[0]` of value `unchecked` supplied to `TouchableOpacity`, expected one of ["selected","disabled"].
in TouchableOpacity
console.error node_modules/react/node_modules/prop-types/checkPropTypes.js:19
Warning: Failed prop type: Invalid prop `accessibilityStates[0]` of value `checked` supplied to `TouchableOpacity`, expected one of ["selected","disabled"].
in TouchableOpacity
These warnings occurred because RNE still uses RN v0.59. Meanwhile, accessibilityRole: checkbox and accessibilityStates: checked are new in v.0.60.
Explain what you did
Found warnings on this build, #3300.
Expected behavior
No warning.
Describe the bug
See the Jest's log:
These warnings occurred because RNE still uses RN v0.59. Meanwhile,
accessibilityRole: checkbox
andaccessibilityStates: checked
are new in v.0.60.Respective source code:
Your Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: