-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Jest CLI --testLocationInResults doesn't work with fit/xit test #6453
Comments
You found a bug :) Wanna send a PR to fix it? |
I could give it a try on weekend, may i figure out where this comes from. ;) |
You can see it added to Should figure out some way of sharing it with |
Might consider a refactor to use the stack of the async error, same as in circus, cc @captbaritone |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
While executing this command:
on this file:
I get the Result:
When executing the same command:
on the file with the same test, including a
fit
instead of an ìt` test:I get this Result:
Somehow the
testResult[0].assertionResults[0].location
disappears when ifocus
the specific test. If i have multiple test cases like this:The JSON result only excludes the location property of the
focus
test:Same when i exclude on test like this:
The result is also missing the
location
property of this test:jest config in the package json:
Is there something that i am missing in my CLI execution? Or did i found a bug.
The text was updated successfully, but these errors were encountered: