File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
plugin-coverage/src/lib/nx
plugin-lighthouse/src/lib/runner Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ export async function getCoveragePathForVitest(
136136
137137 const vitestConfig = await importModule < VitestCoverageConfig > ( {
138138 filepath : config ,
139- format : 'esm' ,
140139 } ) ;
141140
142141 const reportsDirectory =
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export async function getConfig(
134134 // Resolve the config file path relative to where cli was called.
135135 return readJsonFile < Config > ( filepath ) ;
136136 } else if ( / \. ( t s | j s | m j s ) $ / . test ( filepath ) ) {
137- return importModule < Config > ( { filepath, format : 'esm' } ) ;
137+ return importModule < Config > ( { filepath } ) ;
138138 } else {
139139 logger . warn ( `Format of file ${ filepath } not supported` ) ;
140140 }
You can’t perform that action at this time.
0 commit comments