Skip to content

Commit

Permalink
refactor: moved more components over
Browse files Browse the repository at this point in the history
  • Loading branch information
trajano committed Sep 22, 2024
1 parent 4a1d400 commit 0bde557
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { render } from '@testing-library/react-native';
import { ThemedText } from 'react-native-my-components/src/components/ThemedText';

it('renders correctly', () => {
const { toJSON } = render(<ThemedText>Snapshot test!</ThemedText>);
expect(toJSON()).toMatchSnapshot();
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `
<Text
style={
{
"color": "#11181D",
"fontFamily": "ComicNeue_400Regular",
"fontSize": 16,
"fontStyle": undefined,
"fontWeight": undefined,
"lineHeight": 24,
}
}
>
Snapshot test!
</Text>
`;

0 comments on commit 0bde557

Please sign in to comment.