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.
11 lines
269 B
11 lines
269 B
1 month ago
|
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();
|
||
|
});
|