mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import * as React from 'react';
|
|
import renderer from 'react-test-renderer';
|
|
|
|
import {ThemedText} from '../ThemedText';
|
|
|
|
it(`renders correctly`, () => {
|
|
const tree = renderer
|
|
.create(<ThemedText>Snapshot test!</ThemedText>)
|
|
.toJSON();
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
});
|