You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import * as React from 'react';
|
|
import renderer from 'react-test-renderer';
|
|
|
|
import { MonoText } from '../StyledText';
|
|
|
|
it(`renders correctly`, () => {
|
|
const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON();
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
});
|