CS lib
This commit is contained in:
parent
cec664c8d0
commit
ff2320f08c
13 changed files with 297 additions and 297 deletions
|
@ -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();
|
||||
} );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue