Skip to content

Commit bb4a952

Browse files
committed
wip!
1 parent 0877e4d commit bb4a952

File tree

1 file changed

+2
-1
lines changed
  • packages/angular/build/src/builders/unit-test/runners/vitest

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
171171
name: 'angular:test-in-memory-provider',
172172
enforce: 'pre',
173173
resolveId: (id, importer) => {
174-
if (importer && (id[0] === '.' || id[0] === '/')) {
174+
console.log({ id, importer });
175+
if (importer && (id[0] === '.' || id[0] === '/' || id[0] === '\\')) {
175176
let fullPath;
176177
if (testFileToEntryPoint.has(importer)) {
177178
fullPath = toPosixPath(path.join(workspaceRoot, id));

0 commit comments

Comments
 (0)