@@ -161,7 +161,7 @@ export default testSuite(async ({ describe }, { tsx, supports, version }: NodeAp
161161 expect ( p . failed ) . toBe ( false ) ;
162162 expect ( p . stdout ) . toMatch ( `"import.meta.url":"${ pathToFileURL ( fixture . getPath ( 'import-from-js.js' ) ) } "` ) ;
163163 expect ( p . stdout ) . toMatch ( `"js":{"cjsContext":${ isCommonJs } ,"default":1,"named":2}` ) ;
164- expect ( p . stdout ) . toMatch ( '"json":{"default":{"loaded":"json"},"loaded":"json"}' ) ;
164+ expect ( p . stdout ) . toMatch ( '"json":{"default":{"loaded-file ":"json"},"loaded-file ":"json"}' ) ;
165165
166166 if ( supports . exportModuleExports && ! isCommonJs ) {
167167 expect ( p . stdout ) . toMatch ( '"cjs":{"default":{"named":"named"},"module.exports":{"named":"named"},"named":"named"}' ) ;
@@ -422,7 +422,7 @@ export default testSuite(async ({ describe }, { tsx, supports, version }: NodeAp
422422 expect ( p . failed ) . toBe ( false ) ;
423423 expect ( p . stdout ) . toMatch ( `"import.meta.url":"${ pathToFileURL ( fixture . getPath ( 'import-from-ts.ts' ) ) } "` ) ;
424424 expect ( p . stdout ) . toMatch ( `"js":{"cjsContext":${ isCommonJs } ,"default":1,"named":2}` ) ;
425- expect ( p . stdout ) . toMatch ( '"json":{"default":{"loaded":"json"},"loaded":"json"}' ) ;
425+ expect ( p . stdout ) . toMatch ( '"json":{"default":{"loaded-file ":"json"},"loaded-file ":"json"}' ) ;
426426 if ( supports . exportModuleExports && ! isCommonJs ) {
427427 expect ( p . stdout ) . toMatch ( '"cjs":{"default":{"named":"named"},"module.exports":{"named":"named"},"named":"named"}' ) ;
428428 } else {
0 commit comments