Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always is empty in tests #364

Open
emoreno-94 opened this issue Jul 10, 2024 · 1 comment
Open

Always is empty in tests #364

emoreno-94 opened this issue Jul 10, 2024 · 1 comment

Comments

@emoreno-94
Copy link

I'm trying to do some test cases with this library, but when I debug my view this list are always empty alsa the renderComponent method doesn't execute..... Are they some way to see a not empty list??

<RCTScrollView
    batchSizeThreshold={1}
    collapsable={false}
    contentContainerStyle={
      {
        "maxWidth": "100%",
      }
    }
    contentInset={
      {
        "bottom": 0,
        "left": 0,
        "right": 0,
        "top": 0,
      }
    }
    controlItemRender={false}
    keyboardDismissMode="interactive"
    keyboardShouldPersistTaps="always"
    numColumns={1}
    onLayout={[Function]}
    onMomentumScrollEnd={[Function]}
    onScroll={[Function]}
    onScrollEndDrag={[Function]}
    refreshControl={
      <RefreshControlMock
        colors={
          [
            "#ffc453",
            "#F7931E",
            "#be6500",
          ]
        }
        onRefresh={[Function]}
        refreshing={false}
        tintColor="#43484d"
      />
    }
    removeClippedSubviews={false}
    scrollEventThrottle={16}
    style={
      {
        "flex": 1,
      }
    }
    testID="campaigns-list"
  >
    <RCTRefreshControl />
    <View />
  </RCTScrollView>
</View>
@yz1311
Copy link

yz1311 commented Sep 13, 2024

same to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants