Skip to content

Conversation

@jgonet
Copy link
Member

@jgonet jgonet commented Feb 12, 2021

Description

Fixes #1344

Add Bob so RNGH can be used for various platforms.

Changes

  • Moved index.ts to src/index.ts
  • Adjusted babel config in Example app
  • Adjusted imports for Drawer & Swipeable

@jgonet jgonet requested a review from WoLewicki February 12, 2021 21:49
@jgonet jgonet self-assigned this Feb 12, 2021
Copy link
Member

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Make sure the lib directories in DrawerLayout and Swipeable are properly matched.

@jgonet
Copy link
Member Author

jgonet commented Feb 15, 2021

\cc @satya164

We use jestSetup.js to provide mocks. I didn't find much information about it in the jest docs, will it work with Bob?

Bob ignores __mocks__ (at least with default config) directories and it looks like generated directories won't be mocked automatically.

Also, I'm pretty sure Bob was here before but was lost in the sands of time.

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

Successfully merging this pull request may close these issues.

} as const; react-native-gesture-handler\src\State.ts: Unexpected token (10:5)

4 participants