Vite Config TypeError on defineConfig
regarding cacheDir
with test config
#26579
Closed
1 of 4 tasks
Labels
Current Behavior
I get a type error if I specific a
cacheDir
in my test config:What does work is this:
But when I do that and run the tests I get the following deprecation warning:
Expected Behavior
Should not get type errors when using
test.cacheDir
. It's worth noting that everything works fine if I@ts-ignore
. The tests run successfully and I do not get the deprecation warning mentioned above.GitHub Repo
No response
Steps to Reproduce
test.cacheDir
key in thedefineConfgi
in avite.config.ts
file.@ts-ignore
or@ts-expect-error
.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: