Skip to content

Commit b5816c4

Browse files
committed
chore: fix
1 parent 8429b7b commit b5816c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/component-tree.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function isHostElement(element?: ReactTestInstance | null): element is Ho
1313
return typeof element?.type === 'string';
1414
}
1515

16-
export function isElementMounted(element: ReactTestInstance | null) {
16+
export function isElementMounted(element: ReactTestInstance) {
1717
return getUnsafeRootElement(element) === screen.UNSAFE_root;
1818
}
1919

0 commit comments

Comments
 (0)