mobile/components/__tests__/StyledText-test.js
CaptaiNiveau adcca5ae66 Initial commit
Generated by create-expo-app 2.1.1.
2024-01-05 14:17:13 +01:00

10 lines
269 B
JavaScript

import * as React from 'react';
import renderer from 'react-test-renderer';
import { MonoText } from '../StyledText';
it(`renders correctly`, () => {
const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON();
expect(tree).toMatchSnapshot();
});