I was wondering if there is something that I can use to mock my database. Say a function makeRelations makes relation from a certain node to another. I want to test this function but without actually making a relation in my database. Is there an easy way to do so ? I am using expect and mocha for testing.
Aucun commentaire:
Enregistrer un commentaire