Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-react-app-typescript displays:'extension relies on Jest 20+ features' #337

Closed
cmenekse opened this issue Jun 12, 2018 · 2 comments
Closed

Comments

@cmenekse
Copy link

cmenekse commented Jun 12, 2018

Environment

  1. node -v: 8.11.1

  2. npm -v: 5.6.0

  3. npm ls react-scripts (if you haven’t ejected):
    it is from create-react-app-typescript so
    react-scripts-ts@2.16.0

  4. Operating system: Windows 10

Steps to Reproduce

run
create-react-app my-app --scripts-version=react-scripts-ts
add in vscode settings:

  "jest.pathToJest": "npm run test --",
  "jest.debugCodeLens.showWhenTestStateIn": [
    "fail",
    "pass",
    "skip",
    "unknown"
  ],
  "jest.enableCodeLens": true,

then CTRL+SHIFT+P, Jest:Start Runner.

I do not see jest installed globally when doing npm ls -g --depth 0

Expected Behavior

No Jest 20+ error and dots to appear near tests

Actual Behavior

Displays : This extension relies on Jest 20+ features, it will continue to work, but some features may not work correctly
and no dots are appearing, everything else seems to be fine.

@cmenekse cmenekse changed the title create-react-app-typescript, displays:'extension relies on Jest 20+ features' create-react-app-typescript displays:'extension relies on Jest 20+ features' Jun 12, 2018
@connectdotz
Copy link
Collaborator

this indeed is a bug, #341 should fix it once released.

@connectdotz
Copy link
Collaborator

vscode-jest 2.9.0 has shipped with jest 23.x support and more, which should address this issue. Feel free to reopen if otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants