first commit
This commit is contained in:
10
app/components/__tests__/StyledText-test.js
Normal file
10
app/components/__tests__/StyledText-test.js
Normal file
@ -0,0 +1,10 @@
|
||||
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();
|
||||
});
|
Reference in New Issue
Block a user