mercredi 7 janvier 2015

Load data for angularjs unit test

I want to use some dummy data in an angular unit test. The data is a large javascript array of objects. I'd rather not have this object in my unit test. Is there a way I can load this data into my unit test? In effect, I want the unit test to "include" another file which contains the data. Is this possible? Thanks


Aucun commentaire:

Enregistrer un commentaire