[x] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
After setting "buildMode: application" for my Karma unit test setup, I am getting multiple "Two output files share the same path but have different contents" errors. The project contains five independent "data-source.spec.ts" suites, each a service for a different component. I suspect the "-2" suffix does not take this into account.
Have five unit test suites with the same file name located in different directories.
Configure "buildMode: application".
Exception or Error
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js.map
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js.map
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js.map
X [ERROR] Two output files share the same path but have different contents: data-source.spec.ts-2.js
Command
test
Is this a regression?
The previous version in which this bug was not present was
18
Description
After setting "buildMode: application" for my Karma unit test setup, I am getting multiple "Two output files share the same path but have different contents" errors. The project contains five independent "data-source.spec.ts" suites, each a service for a different component. I suspect the "-2" suffix does not take this into account.
Suite paths:
Minimal Reproduction
Exception or Error
Your Environment
Anything else relevant?
No response