You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
container has Element type instead of HTMLElemet #550
The container property, returned by render function from @testing-library/angular package has an Element type instead of HTMLElement. That triggers a type error trying to use it with logRoles that expects HTMLElement as a first argument
i guess it shouldn't be a breaking change, cause any place that expects container: Element should work fine with container: HTMLElement cause it extends Element interface 🤔
Activity
timdeschryver commentedon Nov 6, 2025
Good catch, feel free to open a PR with change.
Do you consider this a breaking change?
artaommahe commentedon Nov 7, 2025
here it is #551
i guess it shouldn't be a breaking change, cause any place that expects
container: Elementshould work fine withcontainer: HTMLElementcause it extends Element interface 🤔fix: narrow container type to HTMLElement in RenderResult (testing-li…