testing-library / native-testing-library

Compare 99c3f6b ... +5 ... 0d26f99

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -28,6 +28,7 @@
Loading
28 28
  Image: ['error', 'layout', 'load', 'loadEnd', 'loadStart', 'partialLoad', 'progress'],
29 29
  Modal: ['dismiss', 'orientationChange', 'requestClose', 'show'],
30 30
  Picker: [...viewEvents, 'valueChange'],
31 +
  Pressable: ['longPress', 'press', 'pressIn', 'pressOut'],
31 32
  RefreshControl: [...viewEvents, 'refresh'],
32 33
  SafeAreaView: [...viewEvents],
33 34
  ScrollView: [
@@ -108,8 +109,8 @@
Loading
108 109
}
109 110
110 111
function isDisabled(element) {
111 -
  const { accessibilityStates = [], disabled } = element.props;
112 -
  return disabled || accessibilityStates.includes('disabled');
112 +
  const { accessibilityState = {}, disabled } = element.props;
113 +
  return disabled || accessibilityState.disabled;
113 114
}
114 115
115 116
function findEventTarget(element, event) {

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
src/lib 100.00%
Project Totals (20 files) 100.00%
Loading