Skip to content

"jest.moduleDirectories" parameter is ignored, resulting in linter errors #275

Open
@aneilbaboo

Description

@aneilbaboo

VSCode-jest doesn't recognize the Jest moduleDirectories parameter.

Environment

  1. node -v: 6.10.3 (and 9.4.0)
  2. npm -v: 5.6.0
  3. npm ls react-scripts (if you haven’t ejected): empty
  4. Operating system: macOS 10.13.3
  5. vscode-jest: 2.6.4
  6. vscode: 1.20.1

Steps to Reproduce

  1. Clone test repo
git clone https://github.com/aneilbaboo/vscode-jest-moduleDirectories.git
yarn install 
yarn test # tests pass
  1. Look in VSCode and see an error:

screen shot 2018-02-27 at 5 05 54 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions