Skip to content

Fix relative uplevels of Symlinked Workspace (Issue #798) #1244

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NitzKo95
Copy link

@NitzKo95 NitzKo95 commented Jun 1, 2025

TL;DR

Solves the issue reported in #798
Examples of the fix can be found in my comment

Some explanation

While the issue might initially seem rooted in Jest—which reports test results based on the tests’ real paths—it actually makes sense from Jest’s own perspective. Therefore, I implemented the logic in this extension to handle cases where a workspace (or one of its parent directories) is linked, and to hide such links from the Tests Explorer view.

Tests made:

  • Feature-flag disabled - show current behavior remains
  • Feature-flag enabled - show the changes take effect

NitzKo95 added 2 commits May 30, 2025 11:28
- Add feature flag
- Minor refactor: consolidate settings usage
- Update documentation
- Adjust tests to pass
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

Successfully merging this pull request may close these issues.

1 participant