@@ -204,7 +204,7 @@ function defineTest(f: Fixture) {
204204 // update server code
205205 const editor = f . createEditor ( 'src/routes/action/action.tsx' )
206206 editor . edit ( ( s ) =>
207- s . replace ( 'const TEST_UPDATE = 1; ' , 'const TEST_UPDATE = 10; ' ) ,
207+ s . replace ( 'const TEST_UPDATE = 1\n ' , 'const TEST_UPDATE = 10\n ' ) ,
208208 )
209209 await expect ( async ( ) => {
210210 if ( ! options . js ) await page . goto ( f . url ( ) )
@@ -385,8 +385,8 @@ function defineTest(f: Fixture) {
385385 const editor = f . createEditor ( 'src/routes/style-client/client-dep.tsx' )
386386 editor . edit ( ( s ) =>
387387 s . replaceAll (
388- `import " ./client-dep.css"; ` ,
389- `/* import " ./client-dep.css"; */` ,
388+ `import ' ./client-dep.css' ` ,
389+ `/* import ' ./client-dep.css' */` ,
390390 ) ,
391391 )
392392 await page . waitForTimeout ( 100 )
@@ -465,7 +465,7 @@ function defineTest(f: Fixture) {
465465 // remove css import
466466 const editor = f . createEditor ( 'src/routes/style-server/server.tsx' )
467467 editor . edit ( ( s ) =>
468- s . replaceAll ( `import " ./server.css"; ` , `/* import " ./server.css"; */` ) ,
468+ s . replaceAll ( `import ' ./server.css' ` , `/* import ' ./server.css' */` ) ,
469469 )
470470 await page . waitForTimeout ( 100 )
471471 await expect ( async ( ) => {
0 commit comments