I installed node and lodash and several other libraries
npm install grunt-contrib-jshint --save-dev
npm install grunt-contrib-testem --save-dev
npm install sinon --save-dev
npm install -g phantomjs
npm install lodash --save
npm install jquery --save
npm install jasmine-node --save-dev
But when I tried to run the jasmine test, one of two things happens:
- Or the symbol _ it's not recognize
- Or jasmine doesn't recognize the specs as specs
This is an screenshot of my code and test. As you can see, if I add the _ reference, the result is
If I remove that, the result is
Aucun commentaire:
Enregistrer un commentaire