FormidableLabs / FormidableLabs/react-native-ama
useButtonChecks error with Jest
- Dominant language
- TypeScript
- Stars
- 295
- Forks
- 22
- Avg merge
- 20m
- Merged PRs (30d)
- 2
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
### Code Sandbox link
_No response_
### Bug report
```markdown
When I'm testing a file using your component, I'm getting:
Cannot find module '@react-native-ama/core/src/hooks/useButtonChecks' from 'node_modules/@react-native-ama/react-native/dist/hooks/usePressable.js'
This seems to relate to this line in `usePressable.js`
`const useButtonChecks_1 = require("@react-native-ama/core/src/hooks/useButtonChecks");`
My Jest tests seem to pass when the filepath is changed, e.g. to
`const useButtonChecks_1 = require("@react-native-ama/core/");`
Could you have a look please
```
Contributor guide
Assessment
This issue has not been assessed yet.