fix(vitest): Fix cacheDir
not being honored if deps.optimizer.{mode}.enabled
is true
#12251
Annotations
3 errors
test/optimize-deps/test/ssr.test.ts#L11
AssertionError: expected 'file:///Users/runner/work/vitest/vitest/test/optimize-deps/node_modules/.vite/deps_ssr/@vitest_test-dep-url.js' to contain '/node_modules/.vite/vitest/deps_ssr/'
Expected: "/node_modules/.vite/vitest/deps_ssr/"
Received: "file:///Users/runner/work/vitest/vitest/test/optimize-deps/node_modules/.vite/deps_ssr/@vitest_test-dep-url.js"
❯ test/ssr.test.ts:11:25
|
test/optimize-deps/test/web.test.ts#L9
AssertionError: expected 'file:///Users/runner/work/vitest/vitest/test/optimize-deps/node_modules/.vite/deps/@vitest_test-dep-url.js' to contain '/node_modules/.vite/vitest/deps/'
Expected: "/node_modules/.vite/vitest/deps/"
Received: "file:///Users/runner/work/vitest/vitest/test/optimize-deps/node_modules/.vite/deps/@vitest_test-dep-url.js"
❯ test/web.test.ts:9:25
|
|
This job failed
Loading