Vscode-jest: gutter icons are missing vscode 1.14.2

Created on 27 Jul 2017  路  15Comments  路  Source: jest-community/vscode-jest

Environment

  1. node -v: 6.9.1
  2. npm -v: 3+

  3. Operating system: windows 10

Steps to Reproduce

install extension
run - npm test or setup lanuch.json or "start jest runner"

Expected Behavior

lines of code tested are marked with green icons at left side gutter if they pass. red if they fail

Actual Behavior

no icons at the gutter. only status below in the bottom of the window. that says pass/fail


all setting seem to be true

Most helpful comment

Just installed 1.14.2 of VS Code and installed the extension and I'm getting the same issue. This was a clean install as I'm thinking of switching across from Webstorm.
Tests running fine in the output but no gutter icons.
gutter-icons

All 15 comments

i am using typescript with jest pre-processor - is that supported @orta ?

TS + Jest is my setup everywhere 馃憤.

I'd recommend looking at the regex to register whether a file should be considered a test file somewhere

hi, my test are running perfectly and reflected in the bottom even when they break. it is just the gutter icons that don't show up. everything else is working as expected.

Just installed 1.14.2 of VS Code and installed the extension and I'm getting the same issue. This was a clean install as I'm thinking of switching across from Webstorm.
Tests running fine in the output but no gutter icons.
gutter-icons

Does anyone have a sample repo we can look at? My guess is that it has something to do with the jest config being used.

regular setup... just pointed to jest to the files. not even sure if there is a dedicated jest file other than package json scripts

I'm seeing this in the repo here. macOS 10.13, Node v7.8.0.

Same here, it seems to be running all tests correctly. However, I am not receiving the gutters icons (green and red circles) and InlineErrorMessages do not seem to be inserted into the file, as is shown in the gif on the front page. macOS 10.12, Node 8.1.2, Jest 21.1.0, Typescript 2.5.2.

Same for me since updating to Jest 21. I think it's caused by changed output of --showConfig in https://github.com/facebook/jest/pull/4078

Downgrading to Jest v20 and upgrading to v21 again somehow fixed this for me in our monorepo setup.

There was an update last night to the extension which should help this ( #146 )

Calling this fixed

Just stopped working for me agian. Errors are showing up in 'Problems' panel, Jest is running al tests as expected AFAICT. Inline error messages in comments and gutter icons are not showing up however. Could this have to do with yesterdays update of VS Code?

I have the same problem, in one project it's working well but in another one not :confused:

I was having this issue as well. Through trial and error I was able to determine that for me the missing icons seemed to be due to me disabling the Jest extension. Once I re-eneabled the Jest extension (the one maintained by Orta Therox , Sean Poulter , Vincent Voyer & ConnectDotz ), the icons came back.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erikns picture erikns  路  16Comments

kartheektrilochan picture kartheektrilochan  路  28Comments

qwerty2k picture qwerty2k  路  26Comments

Pajn picture Pajn  路  31Comments

karb0f0s picture karb0f0s  路  37Comments