Angular (TypeScript) + Jest Syntax Highlighting
I have set up Jest Run Configuration for Angular project and it works.
However syntax highlighting in .spec files doesn't recognize Jest specific matchers - it references Jasmine `expect` function.
How to configure WebStorm to reference Jest instead?
Please sign in to leave a comment.
please download and install Jest Typescript stubs: in File | Settings | Languages & Frameworks | JavaScript | Libraries, press Download..., choose 'jest' from the list of available stubs, press Download and Install
Thank you, that worked!