Can someone please help, I've lost too many hours to this!
One of my big reasons for buying Webstorm 7 (newbie alert) was for it's integrated Karma test runner, which is great and all.
And I also want to use Jasmine to write all my tests... however, I've watched this video a 100 times:
...it seems so infuriatingly easy?
My actual tests run fine... but I've got the red lines telling me the Jasmine basic methods of "describe", "it", "expect" etc. are "not defined".
Try as I may, with the libraries, scopes and watching those videos... I just can't get the .js files from \karma-jasmine\lib to be recognised, and it's driving me mad, because once that's resolved, I can see only a good things ahead.
Just to confirm...
I'm using Node.js on Windows, if either/both of those things complicate matters?
I've used NPM to install "karma", which following the video means I need to ensure the 3 files (adapter.js, index.js, jasmine.js) from the \karma-jasmine\lib are part of a library which is in scope of the file containing my tests... which it all seems to be.
And again, the tests actually run fine, my issue is all the redness in the editor screaming it doesn't know the Jasmine methods.
Any help (very) gratefully received... Webstorm looks such a brilliant tool... this small bump is really stopping us throwing it into battle.