what is the methods or pattern to be followed in order to mock a custom dependency for a react native project inside node modules. Should I do it as apart of react native project as a whole, by using jest config and pointing it to my module? Or Should i test it separate as a module itself by creating the required node modules and its own lock file? Any answers or examples would be helpful.
Aucun commentaire:
Enregistrer un commentaire