import { mount } from "enzyme" ; import * as React from "react" ; import { Omnibar } from "../src" ; import { selectComponentSuite } from "./selectComponentSuite" ; describe ( "<Omnibar>" , ( ) => { selectComponentSuite ( props => mount ( < Omnibar { ... props } isOpen = { true } overlayProps = { { usePortal : false } } />)); } ) ;