-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(expansion-panel): add injection token for configuring the default options #14384
feat(expansion-panel): add injection token for configuring the default options #14384
Conversation
b1e655a
to
9f92167
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit tests?
I don't mind adding some, but it feels like we'd basically be testing DI. |
IMO it's about testing that the panel correctly pulls the default from the custom options |
…t options Adds a new injection token to allow people to configure the default options for the expansion panel component. Fixes angular#14383.
9f92167
to
82ab05f
Compare
@jelbourn I've added a test for the injection token. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…t options (angular#14384) Adds a new injection token to allow people to configure the default options for the expansion panel component. Fixes angular#14383.
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. |
Adds a new injection token to allow people to configure the default options for the expansion panel component.
Fixes #14383.