UNPKG

react-native-flex-grid

Version:

🎨 A react-native flexbox grid similar to bootstap's web grid.

15 lines • 532 B
import React from 'react'; import renderer from 'react-test-renderer'; import Col from './Col'; const setupCol = function () { let overrideProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return /*#__PURE__*/React.createElement(Col, overrideProps); }; describe('<Col />', () => { it('renders basic props correctly', () => { const wrapper = renderer.create(setupCol()); expect(wrapper).toMatchSnapshot(); }); // @todo add tests for all classes }); //# sourceMappingURL=Col.test.js.map