kanzitelli / rnn-starter

🤹 React Native Starter - Powered by cli-rn, React Native Navigation, Expo Modules, RNN Screens, RN UI lib, MMKV, Mobx, Reanimated 2, Dark Mode, Splash Screen, Localization, Notifications, Permissions, and much more.
https://starters.dev
MIT License
551 stars 72 forks source link

Writing Tests for a single Function causes Dilema of test failures #72

Closed rizwanatta closed 2 years ago

rizwanatta commented 2 years ago

hey @kanzitelli ! love this template! i am having couple of issues while testing ! i able to mock every other package i introduced in the template above your provided ones. but the react-native-ui-lib's usage in DesignSystem is not by passing the mocks at all

any solution on that or insight ! a mock folder you wrote for the tests ?

kanzitelli commented 2 years ago

@rizwanatta hey! thank you! I have not set up any tests for this template yet and been using mostly e2e tests. If there is any issues with RN UI Lib, try to reach them through opening issue or Discord channel.