Files
react-native-app/components/__tests__/ThemedText-test.tsx
medvegergo 03ea2c4691 Initial commit
Generated by create-expo-app 3.2.0.
2025-03-30 17:39:41 +02:00

11 lines
275 B
TypeScript

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