We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5f228 commit 2f1c4afCopy full SHA for 2f1c4af
packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts
@@ -171,11 +171,8 @@ export function createVitestPlugins(pluginOptions: PluginOptions): VitestPlugins
171
name: 'angular:test-in-memory-provider',
172
enforce: 'pre',
173
resolveId: (id, importer) => {
174
- console.log({
175
- id,
176
- importer,
177
- });
178
- if (importer && (id[0] === '.' || id[0] === '/')) {
+ console.log({ id, importer });
+ if (importer && (id[0] === '.' || id[0] === '/' || id[0] === '\\')) {
179
let fullPath;
180
if (testFileToEntryPoint.has(importer)) {
181
fullPath = toPosixPath(path.join(workspaceRoot, id));
0 commit comments