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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -