Test linting

Hi,

Running yarn test in the console shows passed tests inside App.test.js (in a React 16 project started with create-react-app).

The problem is this file has no code linting or completion. Is Jest or Enzyme not supported? I see no plugins for them.

1 comment

Jest is supported; no special support for Enzyme is provided, but it should still work

please try downloading Jest Typescript stubs: in Settings | Languages & Frameworks | JavaScript | Libraries, press Download..., choose 'jest' from the list of available stubs, press Download and Install - does it help?

0

Please sign in to leave a comment.