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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -