Retrait des points-virgules finaux
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import * as React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import * as React from 'react'
|
||||
import renderer from 'react-test-renderer'
|
||||
|
||||
import { ThemedText } from '../ThemedText';
|
||||
import { ThemedText } from '../ThemedText'
|
||||
|
||||
it(`renders correctly`, () => {
|
||||
const tree = renderer.create(<ThemedText>Snapshot test!</ThemedText>).toJSON();
|
||||
const tree = renderer.create(<ThemedText>Snapshot test!</ThemedText>).toJSON()
|
||||
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
expect(tree).toMatchSnapshot()
|
||||
})
|
||||
|
@ -21,4 +21,4 @@ exports[`renders correctly 1`] = `
|
||||
>
|
||||
Snapshot test!
|
||||
</Text>
|
||||
`;
|
||||
`
|
||||
|
Reference in New Issue
Block a user