title: Can Webstorm play nice with Chai language chains?
body: <p>I am using Mocha+Chai for a current Node.js project. My IDE is Webstorm 11.</p>
  
  <p>Unfortunately, it seems Webstorm has no way of figuring out how language chains in Chai's should/expect are supposed to work. The following is commonplace:</p>
  
  <p><a href="https://i.stack.imgur.com/OMT2S.png"><img src="https://i.stack.imgur.com/OMT2S.png" alt="enter image description here"></a></p>
  
  <p>I have tried explicitly setting both <code>Chai</code> and <code>Chai-DefinetlyTyped</code> as libraries for my project via <code>Settings-&gt;Javascript-&gt;Libraries</code>, but this does not resolve anything.</p>
  
  <p>For the sake of tool support, I have considered dropping expect/should for assert instead, as this works perfectly. However, I very much prefer the style of expect/should, so it would be amazing to see a solution to this.</p>