What is the best way to mock localForage.getItem method? I just need to simply return an sample object when localForage.getItem is called.
Aucun commentaire:
Enregistrer un commentaire