Skip to content
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

Loosen _attachDom return signature. #5666

Closed
wants to merge 1 commit into from
Closed

Loosen _attachDom return signature. #5666

wants to merge 1 commit into from

Conversation

tomoueda
Copy link

Reference Issue

Copy link
Contributor

@rictic rictic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

_attachDom(dom) {
this.appendChild(dom);
return this;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this change necessary, or is it demonstrating usage?

With this change, the test element doesn't have a shadow root I think. Could we assert for that in this test?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary. In the Contributor docs, it says every change has to be accompanied by some change in tests.

I'll try adding an assert.

@rictic
Copy link
Contributor

rictic commented Jun 24, 2020

Fixes #5665

@rictic
Copy link
Contributor

rictic commented Jun 24, 2020

Please also update the changelog

@tomoueda tomoueda closed this Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants