UNPKG

@hc.ds/mobile

Version:
17 lines (16 loc) 477 B
// src/Input.tsx import React from 'react'; import { Input } from './input'; import { render } from '@testing-library/react-native'; describe('Input', () => { it('should render', () => { const { getByDisplayValue } = render( /*#__PURE__*/React.createElement(Input, { defaultValue: "Howdy Textbox!" })); // Check if the text is rendered expect(getByDisplayValue('Howdy Textbox!')).toBeTruthy(); }); }); //# sourceMappingURL=input.spec.js.map