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

No test found on windows when parent folder contain curly brace #9032

Closed
tblaisot opened this issue Oct 9, 2019 · 4 comments
Closed

No test found on windows when parent folder contain curly brace #9032

tblaisot opened this issue Oct 9, 2019 · 4 comments

Comments

@tblaisot
Copy link

tblaisot commented Oct 9, 2019

🐛 Bug Report

On my VDI machine the user folder is a volume and so it is a path like C:/SnapVolumesTemp/MountPoints/\{000000-0000-0000-0000-100000000000\}/SVROOT/Users/MyUser/
When runing jest test in a project located in the User folder it failed founding no tests.

To Reproduce

  • On a windows system.
  • Create a folder containing {} chars.
  • Checkout any project containing jest test in this folder.
  • Run tests.

Expected behavior

I Expect all the tests to be found and run

Link to repl or repo (highly encouraged)

https://github.com/tblaisot/jest-curly-braces-in-rootDir

Instruction in the README.md

envinfo

  System:
    OS: Windows Server 2012
    CPU: (28) x64 Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz
  Binaries:
    Node: 10.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: 24.8.0 => 24.8.0

Notes

Node fonction realpath.native is the one returning C:/SnapVolumesTemp/MountPoints/\{000000-0000-0000-0000-100000000000\}/SVROOT/Users/MyUser/ for the folder C:/Users/MyUser/ but you can reproduce the bug with normal folders containing {}.

From my investigations this bug may have similar reasons: #8520

@tblaisot
Copy link
Author

tblaisot commented Oct 9, 2019

Thoses bug (closed) relate the same issue
#5172
#4838

@github-actions
Copy link

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 17, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2023
@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants