* Use Compass icons * Update ChannelInfo and AdvancedSettings * Fix search modifiers * Fix Autocomplete item * Remove VectorIcon component * Unlink react-native-vector-icons * Revert ProgressiveImage changes * Update Mark as Unread icon * Apply review suggestion * Replace extension icons * Update video control button style * Replace (un)flag with (un)save * Replace (un)flag with (un)save - take 2 * Use bookmark-outline icon Co-authored-by: Miguel Alatzar <miguel@Miguels-MacBook-Pro.local>
21 lines
567 B
JavaScript
21 lines
567 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import React from 'react';
|
|
|
|
import Preferences from '@mm-redux/constants/preferences';
|
|
|
|
import {shallowWithIntl} from 'test/intl-test-helper';
|
|
import ReadOnly from './index';
|
|
|
|
describe('PostDraft ReadOnly', () => {
|
|
test('Should match snapshot', () => {
|
|
const wrapper = shallowWithIntl(
|
|
<ReadOnly
|
|
theme={Preferences.THEMES.default}
|
|
/>,
|
|
);
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|