vendredi 1 avril 2016

How can I do a unit test to see if angular is undefined?

I'm using angular version 1 with jasmine for my unit tests.

The test I want to do is:

When I load the index.html page in ie7 for example I load in a html banner saying download latest browser.

I'm currently loading a html template using JQuery on the index page.

Is it possible to test this since its outside the angular app.

Any suggestions would be great.

Thanks

Aucun commentaire:

Enregistrer un commentaire