Skip to content
Discussion options

You must be logged in to vote

I finally figured out why this was happening.

I had recently renamed my all-lowercase project directory to use camel-case instead (for example, "myproject" became "myProject").

VSCode still had the path as "myproject" so the code in the vitest extension that's designed to detect and avoid recursion when scanning for test files was unable to tell the difference and kept recursing down until it got to the root of my HD.

Removing the project from VSCode and creating a new project by selecting the renamed directory fixed the problem.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pelargir
Comment options

Answer selected by Augs0
@Augs0
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants