Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nielslyngsoe
Copy link
Member

@nielslyngsoe nielslyngsoe commented Feb 26, 2025

Instantiated an element so each test does not need to do so. + Implemented it in tests + some auto Lint fixes

@nielslyngsoe nielslyngsoe enabled auto-merge (squash) February 26, 2025 07:19
* This enables controllers to be added to the life cycle of this element.
*/
@customElement('umb-controller-host')
export class UmbControllerHostElementElement extends UmbControllerHostElementMixin(HTMLElement) {}
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Member Author

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
@iOvergaard iOvergaard changed the base branch from v15/dev to main May 5, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants