// 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 Icon from './index';
describe('Server Icon', () => {
test('Server Icon Component should match snapshot', () => {
const {toJSON} = renderWithIntlAndTheme(
,
);
expect(toJSON()).toMatchSnapshot();
});
test('Server Icon Component should match snapshot with unreads', () => {
const {toJSON} = renderWithIntlAndTheme(
,
);
expect(toJSON()).toMatchSnapshot();
});
test('Server Icon Component should match snapshot with mentions', () => {
const {toJSON} = renderWithIntlAndTheme(
,
);
expect(toJSON()).toMatchSnapshot();
});
});