I am using Mocha + Chai for the current Node.js project. My IDE is Webstorm 11.
Unfortunately, it seems that Webstorm has no way to understand how language chains in Chai / expect should work / should exist. The following is a common occurrence:

I tried to explicitly set both Chai and Chai-DefinetlyTyped as libraries for my project through Settings->Javascript->Libraries , but this does not allow anything.
To support the tool, I considered dropping expect / should for assert instead, as this works fine. However, I really prefer the expect / should style, so it would be great to see a solution to this.
csvan source share