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 render a PopperTargetHelper', () => {
const renderedTree = renderIntoContainer(Yo!, container);
// expect(wrapper.containsMatchingElement()).toBe(true);
expect(findVNodeWithType(renderedTree, PopperTargetHelper)).toBeDefined();
});
it('should render a Manager by default', () => {
const renderedTree = renderIntoContainer(Yo!, container);
const node = findVNodeWithType(renderedTree, Manager)
expect(node).toBeDefined()
});
it('should render an Arrow in the Popper when isOpen is true', () => {
const renderedTree = renderIntoContainer(Yo!, container);
expect(findVNodeWithType(renderedTree, Arrow)).toBeDefined();
});