Styles CSS files not available in unit tests #21054
Labels
area: @angular-devkit/build-angular
devkit/build-angular:karma
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Not sure.
Description
In angular.io, we have the following
build > styles
:However, adding the same styles in
test > styles
(see PR 42259) does not make them available during unit tests, resulting in many warnings (which mess up the output):See the problem in action on CI.
🔬 Minimal Reproduction
cd aio && yarn && yarn test
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: