diff --git a/tests/react-router.ts b/tests/react-router.ts index 1a214ce9..a461af21 100644 --- a/tests/react-router.ts +++ b/tests/react-router.ts @@ -9,5 +9,9 @@ export async function test(options: RunOptions) { build: 'vite-ecosystem-ci:build', beforeTest: 'vite-ecosystem-ci:before-test', test: 'vite-ecosystem-ci:test', + overrides: { + // For Vite 7 support + 'vite-node': '^3.2.2', + }, }) } diff --git a/tests/waku.ts b/tests/waku.ts index 311bd6c3..6f7f1ac7 100644 --- a/tests/waku.ts +++ b/tests/waku.ts @@ -10,6 +10,8 @@ export async function test(options: RunOptions) { beforeTest: 'pnpm playwright install chromium', test: 'test-vite-ecosystem-ci', overrides: { + // For Vite 7 support + 'vite-node': '^3.2.2', // It uses Vitest 3.2+ so we don't need to inject the overrides. // If we inject overrides, the following error happens due to how waku sets overrides for the test. //