-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided
Description
Reproduction
Steps to reproduce:
- Import "MatSelectModule" in my-component.spec.ts
- Run "npm run test"
Expected Behavior
Jest running my tests as expected
Actual Behavior
An error is thrown, with the current message:
Template parse errors:
More than one component matched on this element. Make sure that only one component's selector can match a given element. Conflicting components: MatFormField,MatFormField
If I remove 'MatSelectModule', I got another error:
Template parse errors:
'mat-select' is not a known element:
Environment
- Angular: ~8.2.14
- CDK/Material: ^8.2.3
- Browser(s): Chrome 80.0.3987.87
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided