vscode
vscode copied to clipboard
Test file cannot be found if the directory contains uppercase characters.
Describe the bug Test file cannot be found if the directory contains uppercase characters.
Related issue: #54 but it didn't fix if the directory contains uppercase characters.
For example,
If the test file located in Category directory, such as /app/src/components/Category/CategoryContainer.test.js, the test file cannot be found.
To Reproduce Click the test button if the directory contains uppercase characters.
Screenshots
test file and directory setup

example test

Run the test and Test file can not be found and it create a new file located as /app/src/components/category/categorycontainer.test.js instead.

Expected behavior Test file can be found and run the test.
Environment
- OS: Windows 10 running in DevContainer
- VSCode version: 1.69.0
- Vitest version: 0.18.0
- Vitest plugin version: v0.2.20