mercredi 24 février 2016

Integration test - mocha, express.js mock dependencies

Integration test - mocha, express.js

Starting to add my first integration tests. Noticed that its hard (or impossible) to moch requiremets when you are starting the application inside the test. I suppose that's because it's starts/runs in another process. Anybody that has some sugestion how to solve that.

I run test with : npm test

Aucun commentaire:

Enregistrer un commentaire