vendredi 9 juin 2017

Testing JavaScript with NPM, Mocha and Rails

I am testing the javascript that's sitting on top of my Rails app (using sprockets) with NPM (which is not connected to my Rails app in any way).

Everything is working great - the tests run (using NPM).

But how do I specify to Mocha the JS files I want to test in my Rails app?

Aucun commentaire:

Enregistrer un commentaire