WebStorm + Mocha = No Jasmine framework configured

So I am using Mocha for my tests in WebStorm, and it works great. A problem I'm having though is when I commit my changes to git, I get a bunch of warnings for every 'describe' and 'it' in the test files complaining that Jasmine is not configured.

Is there any way to disable these warnings, so that they don't drown out warnings that are actually valid?


1 comment
Comment actions Permalink

The easiest way to get rid of these errors is adding jasmine to javascript libraries.
Settings/javascript/Libraries, press Download.., choose 'Typescript community stubs' in the combobox, then select 'jasmine' in the libraries list and press 'download and install'


Please sign in to leave a comment.