Files
mattermost-mobile/app/components/loading/index.test.tsx
2021-11-18 22:07:41 +01:00

17 lines
401 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import {renderWithIntlAndTheme} from '@test/intl-test-helper';
import Loading from './index';
test('Loading should match snapshot', () => {
const {toJSON} = renderWithIntlAndTheme(
<Loading/>,
);
expect(toJSON()).toMatchSnapshot();
});