import * as React from 'react'; import SortableList from '..'; import { sortableListTestkitFactory } from '../../../testkit'; import { sortableListTestkitFactory as sortableListEnzymeTestkitFactory } from '../../../testkit/enzyme'; import * as enzyme from 'enzyme'; function SortableListWithMandatoryProps() { return ; } function SortableListWithAllProps() { return ( {}} containerId="aa" delay={10} droppable groupName="name" hasDragged id="1" index={1} item={{}} listOfPropsThatAffectItems={[]} onDragEnd={_params => {}} onDragStart={_params => {}} onDrop={() => {}} onHover={_params => {}} onMoveOut={_params => {}} renderItem={_params => } setWrapperNode={(_node, _index, _item) => {}} shift={[10]} withHandle /> ); } async function testkits() { const testkit = sortableListTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = sortableListEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); }