mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
13 lines
285 B
TypeScript
13 lines
285 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();
|
|
});
|