bug(MatListModule): Jest failed "ReferenceError: Cannot access 'MatListBase' before initialization" #25008
Closed
1 task done
Labels
area: material/list
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
12.1.1
Description
Other modules work as expected. We're using both angular/material and angular/material-experimental in our project and only MatListModule related components failed in test.
MatListModule
MatListOption
MatSelectionList
Similar to Issue #23907 except we're using material-experimental.
Reproduction
Import
MatListModule
,MatListOption
orMatSelectionList
to your component or module then run the tests.Expected Behavior
I guess expected behavior is that Angular partial compilation emit should be work properly as I've paraphrased it from the comment below
#23907 (comment)
Actual Behavior
Environment
Angular: 13.3.10
CDK/Material:13.3.8
Material Experimental : 13.3.8
Operating System: macOS
Jest : 28.1.0
jest-preset-angular : 12.0.1
The text was updated successfully, but these errors were encountered: