@@ -5,7 +5,7 @@ describe("Test Prettier config with snapshot", () => {
55 describe ( "normal preset" , ( ) => {
66 it ( "matches snapshot" , async ( ) => {
77 const options = await prettier . resolveConfig ( "index.ts" , {
8- config : `${ import . meta. dirname } /../dist/index.mjs ` ,
8+ config : `${ import . meta. dirname } /../dist/index.js ` ,
99 } ) ;
1010
1111 expect ( options ) . toMatchSnapshot ( ) ;
@@ -15,15 +15,15 @@ describe("Test Prettier config with snapshot", () => {
1515 describe ( "astro preset" , ( ) => {
1616 it ( "matches snapshot with normal file" , async ( ) => {
1717 const options = await prettier . resolveConfig ( "index.ts" , {
18- config : `${ import . meta. dirname } /../dist/astro.mjs ` ,
18+ config : `${ import . meta. dirname } /../dist/astro.js ` ,
1919 } ) ;
2020
2121 expect ( options ) . toMatchSnapshot ( ) ;
2222 } ) ;
2323
2424 it ( "matches snapshot with astro file" , async ( ) => {
2525 const options = await prettier . resolveConfig ( "index.astro" , {
26- config : `${ import . meta. dirname } /../dist/astro.mjs ` ,
26+ config : `${ import . meta. dirname } /../dist/astro.js ` ,
2727 } ) ;
2828
2929 expect ( options ) . toMatchSnapshot ( ) ;
0 commit comments