mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-27 08:10:32 +00:00
25 lines
667 B
JavaScript
25 lines
667 B
JavaScript
/**
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
import { NavigationContainer } from '@react-navigation/native';
|
|
import { render } from '@testing-library/react-native';
|
|
import React from 'react';
|
|
|
|
import '../../i18n';
|
|
import ServerHelpScreen from '../ServerHelpScreen';
|
|
|
|
describe('ServerHelpScreen', () => {
|
|
it('should render correctly', () => {
|
|
const { toJSON } = render(
|
|
<NavigationContainer>
|
|
<ServerHelpScreen />
|
|
</NavigationContainer>
|
|
);
|
|
|
|
expect(toJSON()).toMatchSnapshot();
|
|
});
|
|
});
|