@@ -14,7 +14,7 @@ test.describe("Vite preview", () => {
1414 test ( "serves built app with vite preview" , async ( { vitePreview, page } ) => {
1515 const files : Files = async ( { port } ) => ( {
1616 "react-router.config.ts" : reactRouterConfig ( {
17- v8_viteEnvironmentApi : true ,
17+ future : { v8_viteEnvironmentApi : true } ,
1818 } ) ,
1919 "vite.config.ts" : await viteConfig . basic ( {
2020 port,
@@ -97,7 +97,7 @@ test.describe("Vite preview", () => {
9797 test ( "handles navigation between routes" , async ( { vitePreview, page } ) => {
9898 const files : Files = async ( { port } ) => ( {
9999 "react-router.config.ts" : reactRouterConfig ( {
100- v8_viteEnvironmentApi : true ,
100+ future : { v8_viteEnvironmentApi : true } ,
101101 } ) ,
102102 "vite.config.ts" : await viteConfig . basic ( {
103103 port,
@@ -173,7 +173,7 @@ test.describe("Vite preview", () => {
173173 test ( "handles loader data correctly" , async ( { vitePreview, page } ) => {
174174 const files : Files = async ( { port } ) => ( {
175175 "react-router.config.ts" : reactRouterConfig ( {
176- v8_viteEnvironmentApi : true ,
176+ future : { v8_viteEnvironmentApi : true } ,
177177 } ) ,
178178 "vite.config.ts" : await viteConfig . basic ( {
179179 port,
@@ -247,7 +247,7 @@ test.describe("Vite preview", () => {
247247 } ) => {
248248 const files : Files = async ( { port } ) => ( {
249249 "react-router.config.ts" : reactRouterConfig ( {
250- v8_viteEnvironmentApi : true ,
250+ future : { v8_viteEnvironmentApi : true } ,
251251 } ) ,
252252 "vite.config.ts" : await viteConfig . basic ( {
253253 port,
0 commit comments