Skip to content

Commit 31e7a7b

Browse files
committed
WIP
1 parent ba87b6c commit 31e7a7b

File tree

1 file changed

+4
-0
lines changed
  • packages/angular/build/src/builders/unit-test/runners/vitest

1 file changed

+4
-0
lines changed

packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
173173
resolveId: (id, importer) => {
174174
// Fast path for test entry points.
175175
if (testFileToEntryPoint.has(id)) {
176+
console.log('ID: ', id);
177+
176178
return id;
177179
}
178180

@@ -193,6 +195,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
193195
// Check if the resolved path corresponds to a known build artifact.
194196
const relativePath = path.relative(workspaceRoot, fullPath);
195197
if (buildResultFiles.has(toPosixPath(relativePath))) {
198+
console.log('FULLPATH: ', fullPath);
199+
196200
return fullPath;
197201
}
198202

0 commit comments

Comments
 (0)