diff options
Diffstat (limited to 'webapp/tests/components/backstage/components/backstage_header.test.jsx')
-rw-r--r-- | webapp/tests/components/backstage/components/backstage_header.test.jsx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/webapp/tests/components/backstage/components/backstage_header.test.jsx b/webapp/tests/components/backstage/components/backstage_header.test.jsx deleted file mode 100644 index f6da444d9..000000000 --- a/webapp/tests/components/backstage/components/backstage_header.test.jsx +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import React from 'react'; -import {shallow} from 'enzyme'; - -import BackstageHeader from 'components/backstage/components/backstage_header.jsx'; - -describe('components/backstage/components/BackstageHeader', () => { - test('should match snapshot without children', () => { - const wrapper = shallow( - <BackstageHeader/> - ); - expect(wrapper).toMatchSnapshot(); - }); - - test('should match snapshot with children', () => { - const wrapper = shallow( - <BackstageHeader> - <div>{'Child 1'}</div> - <div>{'Child 2'}</div> - </BackstageHeader> - ); - expect(wrapper).toMatchSnapshot(); - }); -}); |