// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import CustomStatusText from '@components/custom_status/custom_status_text';
import Preferences from '@constants/preferences';
import {render} from '@test/intl-test-helper';
describe('components/custom_status/custom_status_text', () => {
const baseProps = {
text: 'In a meeting',
theme: Preferences.THEMES.denim,
};
it('should match snapshot', () => {
const wrapper = render(
,
);
expect(wrapper.toJSON()).toMatchSnapshot();
});
it('should match snapshot with empty text', () => {
const wrapper = render(
,
);
expect(wrapper.toJSON()).toMatchSnapshot();
});
});