FormidableLabs / FormidableLabs/react-native-ama
useButtonChecks error with Jest
- Lingua principale
- TypeScript
- Stelle
- 295
- Fork
- 22
- Merge medio
- 20m
- PR unite (30g)
- 2
Descrizione
### 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
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.