Skip to content

Commit be4cc45

Browse files
authored
chore: set vite-node overrides for waku and react-router (#393)
1 parent c922fa9 commit be4cc45

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/react-router.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ export async function test(options: RunOptions) {
99
build: 'vite-ecosystem-ci:build',
1010
beforeTest: 'vite-ecosystem-ci:before-test',
1111
test: 'vite-ecosystem-ci:test',
12+
overrides: {
13+
// For Vite 7 support
14+
'vite-node': '^3.2.2',
15+
},
1216
})
1317
}

tests/waku.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export async function test(options: RunOptions) {
1010
beforeTest: 'pnpm playwright install chromium',
1111
test: 'test-vite-ecosystem-ci',
1212
overrides: {
13+
// For Vite 7 support
14+
'vite-node': '^3.2.2',
1315
// It uses Vitest 3.2+ so we don't need to inject the overrides.
1416
// If we inject overrides, the following error happens due to how waku sets overrides for the test.
1517
//

0 commit comments

Comments
 (0)