blob: 1ac32250677199b5d074a5f69fa16b7b03a83b16 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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();
});
|