-
Notifications
You must be signed in to change notification settings - Fork 6.8k
test(schematics): add test-case for attribute selectors data #12728
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
test(schematics): add test-case for attribute selectors data #12728
Conversation
devversion
commented
Aug 18, 2018
- Adds the missing test-case for the attribute selectors data
* Adds the missing test-case for the attribute selectors data
<div [cdkPortalOutlet]="myPortal"></div> | ||
`, | ||
styles: [ | ||
'[cdkPortalOutlet] {background: red}', |
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.
While creating this test-case I've started wondering if this actually makes sense.
Even though the cdkPortalOutlet
is usually placed on a <ng-template>
and such CSS selectors do not make sense, we want to make sure that the rule logic works.
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.
I think it's fine
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
<div [cdkPortalOutlet]="myPortal"></div> | ||
`, | ||
styles: [ | ||
'[cdkPortalOutlet] {background: red}', |
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.
I think it's fine
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. |