gruntjs - How to include variables from cdn into Karma - jasmine -
I'm trying to use my Karma tests with a wad I have an external variable that is in the index.html file For my example, I need to include this script to get the FAE variable:
& amp; Lt; Script type = "text / javascript" src = "http: // localhost: 9292 / client.js" & gt; & Lt; / Script & gt;
When I am using the application (- force), my exam fails, because the phantom is not getting a faye variable, then everything works Has been doing.
How do I include it in Karma / Phantom, will it recognize my variable?
Comments
Post a Comment