Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('Should return true if that is the ndoe', () => {
const vNode = <div>Ok</div>;
render(
<div>
<span>Test</span>
{vNode}
</div>,
container
);
expect(isDOMinsideVNode(container.querySelector('#target'), vNode)).toBe(true);
});
});