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
Anyone know how can I solve it?
Thanks
Please sign in to leave a comment.
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
Thanks but it didn't help.
works for me. Please attach a screenshot of your settings plus a screenshot that shows up your issue
I updated my WebStorm to version 8 and the problem has solved.
Thanks.