Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/testing-library/src/lib/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
* The containing DOM node of your rendered Angular Component.
* This is a regular DOM node, so you can call container.querySelector etc. to inspect the children.
*/
container: HTMLElement;
container: Element;
/**
* @description
* Prints out the component's DOM with syntax highlighting.
Expand Down
2 changes: 1 addition & 1 deletion projects/testing-library/src/lib/testing-library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async function waitForElementToBeRemovedWrapper<T>(
): Promise<void> {
let cb;
if (typeof callback !== 'function') {
const elements = (Array.isArray(callback) ? callback : [callback]) as HTMLElement[];
const elements = (Array.isArray(callback) ? callback : [callback]) as Element[];
const getRemainingElements = elements.map((element) => {
let parent = element.parentElement;
while (parent.parentElement) {
Expand Down