2024-10-15 08:27:18 -05:00
|
|
|
import * as React from 'react';
|
|
|
|
import renderer from 'react-test-renderer';
|
2024-10-15 15:53:05 -05:00
|
|
|
import { ThemedText } from '@/components/Theme';
|
2024-10-15 08:27:18 -05:00
|
|
|
|
|
|
|
it(`renders correctly`, () => {
|
|
|
|
const tree = renderer.create(<ThemedText>Snapshot test!</ThemedText>).toJSON();
|
|
|
|
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
|
|
});
|