test(docs-infra): add mocks for missing mat-icons#47469
test(docs-infra): add mocks for missing mat-icons#47469dario-piotrowicz wants to merge 1 commit intoangular:mainfrom
Conversation
add mocks for missing mat-icons in order to reduce noise when running aio tests
|
This PR was merged into the repository by commit 14cb9fb. |
add mocks for missing mat-icons in order to reduce noise when running aio tests PR Close #47469
|
@dario-piotrowicz OOC wouldn't importing MatIconTestingModule be enough? |
That module doesn't declare the component: https://github.com/angular/components/blob/2f9a59a24c0464cbed7f54cbeb5cba73e6007715/src/material/icon/testing/fake-icon-registry.ts So it doesn't really solve our issue (I gave it a try and indeed adding it to the imports doesn't prevent the messages) Unless I'm missing something? 🙂 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
add mocks for missing mat-icons in order to reduce noise when running aio tests
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
When running the aio tests a bunch of messages get displayed regarding an undeclared mat-icon:

What is the new behavior?
Mocks for the mat-icon component have been added to the tests so that the messages are not being displayed anymore
Does this PR introduce a breaking change?