Jasmine JSHint globals warning

Hi,
I am using Jasmine unit testing frameworks and I declare all my globals in the following way:
/* globals jasmine, describe, it, expect, spyOn, beforeEach, waitsFor, runs */

But I still get JSHint warning for "Unresolved function oe method describe()/it()/..."

My friend did some changes on his webstorm and he doesn't see this warnings but he doesn't remember which,
Anyone know how can I solve it?
Thanks
4 comments

Try adding these globals to the 'Predefined' list in Javascript -> Code Quality Tool ->  JSHint -> Predefined (,separated). It's the last item in the list of  JSHint options

0

works for me. Please attach a screenshot of your settings plus a screenshot that shows up your issue

0

I updated my WebStorm to version 8 and the problem has solved.

Thanks.

0

Please sign in to leave a comment.