Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

marcalexiei/vitest-typecheck-ts-config-reproduction

Repository files navigation

vitest-typecheck-ts-config-reproduction

pnpm install
pnpm run test

Using vitest.workspace.ts, I cycle through all the folders in the tests directory. For each folder, I check for the existence of a file starting with tsconfig. For each matching file, I create a workspace with test.typecheck.tsconfig referencing the corresponding config file.

Caution

When running vitest, I expect each case folder to contain two temporary tsconfig files. Currently, only one is present.