@@ -390,7 +390,7 @@ test(
390390 } ,
391391 } ,
392392 async ( { fs, exec } ) => {
393- console . log ( await exec ( 'npx @tailwindcss/upgrade' ) )
393+ await exec ( 'npx @tailwindcss/upgrade' )
394394
395395 await fs . expectFileToContain ( 'src/index.css' , css `@import 'tailwindcss';` )
396396 await fs . expectFileToContain (
@@ -465,7 +465,7 @@ test(
465465 } ,
466466 } ,
467467 async ( { fs, exec } ) => {
468- console . log ( await exec ( 'npx @tailwindcss/upgrade' ) )
468+ await exec ( 'npx @tailwindcss/upgrade' )
469469
470470 await fs . expectFileToContain ( 'src/index.css' , css `@import 'tailwindcss';` )
471471 await fs . expectFileToContain (
@@ -476,16 +476,18 @@ test(
476476 ` ,
477477 )
478478
479- let packageJsonContent = await fs . read ( '.postcssrc.json' )
480- let packageJson = JSON . parse ( packageJsonContent )
481- expect ( packageJson ) . toMatchInlineSnapshot ( `
479+ let jsonConfigContent = await fs . read ( '.postcssrc.json' )
480+ let jsonConfig = JSON . parse ( jsonConfigContent )
481+ expect ( jsonConfig ) . toMatchInlineSnapshot ( `
482482 {
483483 "plugins": {
484484 "@tailwindcss/postcss": {},
485485 },
486486 }
487487 ` )
488488
489+ let packageJsonContent = await fs . read ( 'package.json' )
490+ let packageJson = JSON . parse ( packageJsonContent )
489491 expect ( packageJson . dependencies ) . toMatchObject ( {
490492 tailwindcss : expect . stringContaining ( '4.0.0' ) ,
491493 } )
0 commit comments