-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Chore: controller host element for tests #18460
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
base: main
Are you sure you want to change the base?
Chore: controller host element for tests #18460
Conversation
* This enables controllers to be added to the life cycle of this element. | ||
*/ | ||
@customElement('umb-controller-host') | ||
export class UmbControllerHostElementElement extends UmbControllerHostElementMixin(HTMLElement) {} |
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.
Any reason for the double "Element" ending?
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.
Yes, to because that was already taken by an interface... :-P
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.
But maybe it should be called Impelementation or Base or ?
…-tests # Conflicts: # src/Umbraco.Web.UI.Client/src/assets/lang/da-dk.ts # src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts # src/Umbraco.Web.UI.Client/src/assets/lang/en.ts # src/Umbraco.Web.UI.Client/src/packages/documents/documents/publishing/publish-with-descendants/modal/document-publish-with-descendants-modal.element.ts
Instantiated an element so each test does not need to do so. + Implemented it in tests + some auto Lint fixes