@hc.ds/mobile
Version:
Healthy Church Design System - HC Mobile
14 lines • 435 B
JavaScript
import React from 'react';
import { Text } from './text';
import { render } from '@testing-library/react-native';
describe('Typography', () => {
it('should render', () => {
const {
getByText,
queryByText
} = render( /*#__PURE__*/React.createElement(Text, null, "Test"));
expect(getByText('Test')).toBeTruthy();
expect(queryByText('Fail')).toBeFalsy();
});
});
//# sourceMappingURL=typography.spec.js.map