File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/angular/build/src/builders/unit-test/runners/vitest Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -171,11 +171,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
171171 name : 'angular:test-in-memory-provider' ,
172172 enforce : 'pre' ,
173173 resolveId : ( id , importer ) => {
174- console . log ( {
175- id,
176- importer,
177- } ) ;
178- if ( importer && ( id [ 0 ] === '.' || id [ 0 ] === '/' ) ) {
174+ console . log ( { id, importer } ) ;
175+ if ( importer && ( id [ 0 ] === '.' || id [ 0 ] === '/' || id [ 0 ] === '\\' ) ) {
179176 let fullPath ;
180177 if ( testFileToEntryPoint . has ( importer ) ) {
181178 fullPath = toPosixPath ( path . join ( workspaceRoot , id ) ) ;
@@ -189,6 +186,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
189186 }
190187 }
191188
189+ console . log ( { keys : Object . keys ( testFileToEntryPoint ) } ) ;
190+
192191 if ( testFileToEntryPoint . has ( id ) ) {
193192 return id ;
194193 }
You can’t perform that action at this time.
0 commit comments