-
Notifications
You must be signed in to change notification settings - Fork 295
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
describe
wrapper makes all the test gutter icons to be ?
#715
Comments
It sounds like this might be a test result matching issue... Please turn on the “jest.debugMode” and see if there is any warning in the developer tool console. |
Got these two warnings for a file with a single test:
details
detailssource= {
|
Hi, just wanted to let you know I have the same issue on Windows using vscode-jest version 4.0.2. As above, removing the describe wrapper resolves the problem. Using same version of jest, but installed using npm. |
I've checked that I also have version |
hi, thanks for the detailed log message, it is very helpful. I can see the problem in the assertion block (the first log message) that it did not report the ancestor (the describe block) correctly: it shows This data is produced by jest, but I could not reproduce it in various of my test projects... Wondering if your project is somehow using a custom If you can produce a repo to show this problem that will probably be the fastest way to narrow it down. |
Thanks for the suggestion to check for a custom |
just curious, what is the reason to use JUnit reporter? Is some framework you use depends on it? It seems pretty old, the latest version is published 4 years ago. |
We used to use it extensively in our CI to generate xml reports to feed them to Jenkins. Should be not needed in the projects migrated to GitHub Actions. |
@cy6erskunk I think we found a way to improve the match fault tolerance, please feel free to give the following pre-release a try and let us know if it works. |
@connectdotz I've just checked the pre-release, works like a charm! |
Environment
vscode-jest version
: 4.0.1node -v
: v14.16.1yarn --version
: 1.22.10npm ls jest
: └── [email protected]Prerequisite
yarn test
Steps to Reproduce
could not repro an issue in a newly created repo yet
Relevant Debug Info
[fill]
Expected Behavior
test statuses are displayed as green checkmarks or red crosses
Actual Behavior
test statuses are always shown as
?
, unless adescribe('component', () => ... })
wrapper is removed.Jest WS stats are also dispalyed correctly
The text was updated successfully, but these errors were encountered: