vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Test file cannot be found if the directory contains uppercase characters.

Open jtamyrc opened this issue 3 years ago • 0 comments

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 image

example test image

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. image

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

jtamyrc avatar Jul 27 '22 10:07 jtamyrc