-
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(material/slide-toggle): Add disabled
predicate to MatSlideToggleHarness
#24761
feat(material/slide-toggle): Add disabled
predicate to MatSlideToggleHarness
#24761
Conversation
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.
Good addition, just needs a few small things:
- Make a similar change to the mdc-based harness (they're separate implementations)
- Add a unit test to
slide-toggle-harness.spec.ts
(we have separate component tests and component harness tests) - Run
yarn approve-api slide-toggle
to update the public API gold
DONE
DONE
DONE, .. I think?. This didn't appear to do anything interesting. Update: I figured it out now ;P |
317f07a
to
4cef1b3
Compare
src/material/slide-toggle/testing/slide-toggle-harness-filters.ts
Outdated
Show resolved
Hide resolved
4cef1b3
to
3f0b534
Compare
…leHarness - Add `disabled` predicate to MatMdcSlideToggleHarness - Update tests for new `disabled` predicate - Update golden
3f0b534
to
2d96925
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.
LGTM
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. |
disabled
predicate to MatSlideToggleHarness