Tests using web-test-runner fail on multi project apps #28261
Labels
area: @angular-devkit/build-angular
devkit/build-angular:web-test-runner
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
test
Is this a regression?
The previous version in which this bug was not present was
No response
Description
If you create a new angular app with two projects, and try to run the unit tests using web-test-runner, the spec files cannot be located.
Minimal Reproduction
Use the web-test-runner
npm install @web/test-runner -D
Replace
@angular-devkit/build-angular:karma
by@angular-devkit/build-angular:web-test-runner
in angular.jsonRune the unit tests
ng test
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: