You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
🐛 Bug Report
fast_path#relative()
in jest-haste-map return sliced dir name, when filename start with words same rootDir.ex)
dirname: foo/bar
filename: foo/barbaz/index.js
And relative() return
az/index.js
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When:
dirname: foo/bar
filename: foo/barbaz/index.js
And should get
../barbaz/index.js
Link to repl or repo (highly encouraged)
Please provide either a repl.it demo or a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run
npx envinfo --preset jest
Paste the results here:
System: OS: macOS High Sierra 10.13.6 CPU: x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz Binaries: Node: 8.11.3 - ~/.config/fnm/bin/node Yarn: 1.10.1 - /usr/local/bin/yarn npm: 6.4.1 - /usr/local/bin/npm
The text was updated successfully, but these errors were encountered: