(node?: TestNode | null)
| 7 | * @param node The element to check. |
| 8 | */ |
| 9 | export function isTestInstance(node?: TestNode | null): node is TestInstance { |
| 10 | return typeof node !== 'string' && typeof node?.type === 'string'; |
| 11 | } |
| 12 | |
| 13 | export function isInstanceMounted(instance: TestInstance) { |
| 14 | return getContainerInstance(instance) === screen.container; |
no outgoing calls
no test coverage detected
searching dependent graphs…