This commit is contained in:
Maarten 2024-08-08 14:22:35 +02:00
parent cec664c8d0
commit ff2320f08c
13 changed files with 297 additions and 297 deletions

View file

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