@hc.ds/mobile
Version:
Healthy Church Design System - HC Mobile
17 lines (16 loc) • 477 B
JavaScript
// 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