@WebStormIDE is a way to remove `Missing import statement` warnings from jest functions: expect and it, without writing own type file?
You can configure jest.d.ts as a WebStorm library (Preferences | Languages & Frameworks | JavaScript | Libraries - Download - search for Jest). That way these symbols will be resolved and inspection about imports will also go away.
-
-
I already did, and it's not working: http://d.pr/i/5g51BJ it's looking like webstorm is not resolving aliases ('it' as an aliast of 'test' etc.)
-
Can you please send us a screenshot with the code and error message
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.