-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running jest -o and jest --watch in the same directory, but with different lower/upper case letters in preceding path to the folder produces different outcomes.
Correct full path is D:\Projects\Temp\my-js-learning
Outcome:
- with correct path Jest picks up changed file
- with an incorrect case in working dir - Jest picks up changed file
(D:\Projects\Temp\My-js-learning) - with an incorrect lower/uppec case letter in any dir preceding working dir - Jest does not pick up changed file
(D:\ProjectS\Temp\my-js-learning)
(D:\Projects\temp\my-js-learning)
(D:\projects\Temp\my-js-learning)
Same issue on second Windows machine:
What is the expected behavior?
Preceding path should be case-insensitive on Windows.
Tested on two machines. Both in cmd and in powershell.
First:
- Jest: 21.0.1
- Windows: 10.0.15063
- Git: 2.14.1.windows.1
- Node: v8.6.0
- Yarn: 1.1.0
Second:
- Jest: v21.2.1
- Windows: 6.1.7601
- Git: 2.14.1.windows.1
- Node: v6.11.3 and v8.6.0
- Yarn: 1.1.0

