@WebStormIDE is a way to remove `Missing import statement` warnings from jest functions: expect and it, without writing own type file?
Thanks! But does it navigate to jest.d.ts when you cmd-click on it or expect? If you hit alt-enter, what imports it suggests for both symbols? At the moment as workaround would be to disable "Missing import" inspection in Preferences
-
-
You can create a scope for test files and disable the inspection only there if you want to keep it in all the other places.
- 2 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.