jeudi 2 avril 2015

Jasmine Page Specific Include

Is there a way to include a page specific javascript file in jasmine?


For instance, we have the same function doWork() defined in multiple .js files and need to test them independently of each other.


If I just include all the .js files in jasmine.yml, only the last one read in will be executed.


I am using Rails and the jasmine gem, but even generic jasmine help would probably help out.


Aucun commentaire:

Enregistrer un commentaire