File tree Expand file tree Collapse file tree
packages/angular/build/src/builders/unit-test/runners/vitest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ export async function createVitestConfigPlugin(
240240 // Validate that enabled browsers support the selected coverage provider
241241 validateBrowserCoverage ( browser , testConfig ?. browser , determinedProvider ) ;
242242
243- projectPlugins . unshift ( createSourcemapSupportPlugin ( ) ) ;
244- setupFiles . unshift ( 'virtual:source-map-support' ) ;
243+ // projectPlugins.unshift(createSourcemapSupportPlugin());
244+ // setupFiles.unshift('virtual:source-map-support');
245245 }
246246
247247 const projectResolver = createRequire ( projectSourceRoot + '/' ) . resolve ;
@@ -408,7 +408,7 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
408408
409409 const map = sourceMapText ? JSON . parse ( sourceMapText ) : undefined ;
410410 if ( map ) {
411- adjustSourcemapSources ( map , ! vitestConfig ?. coverage ?. enabled , workspaceRoot , id ) ;
411+ adjustSourcemapSources ( map , true , workspaceRoot , id ) ;
412412 }
413413
414414 return {
You can’t perform that action at this time.
0 commit comments