Wavelength/components/__tests__/ThemedText-test.tsx
gibbyb 37745648ad Initial commit
Generated by create-expo-app 3.0.0.
2024-10-08 12:25:29 -05: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();
});